Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Class Gtk.Widget

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-2.0.gir
C documentation: GtkWidget
Class : Widget
Implements: Atk.ImplementorIface, Gtk.Buildable
Extends: Gtk.Object
  Show / Hide Inherited methods, properties and signals
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Epiphany
Method
Epiphany.ephy_state_add_expander (Widget widget, String name, Boolean default_state) : none
Epiphany
Method
Epiphany.ephy_state_add_paned (Widget paned, String name, Number default_width) : none
Epiphany
Method
Epiphany.ephy_state_add_window (Widget window, String name, Number default_width, Number default_heigth, Boolean maximize, EphyStateWindowFlags flags) : none
Epiphany.EggEditableToolbar
Method
get_selected () : Gtk.Widget
Epiphany.EggEditableToolbar
Method
set_selected (Widget widget) : none
Epiphany.EphyDialog
Method
new Epiphany.EphyDialog.with_parent (Widget parent_window) : Epiphany.EphyDialog
Create a new Epiphany.EphyDialog
Epiphany.EphyDialog
Method
set_parent (Widget parent) : none
Sets parent as the parent-window of dialog.
Epiphany.EphyDialog
Method
get_parent () : Gtk.Widget
Gets dialog's parent-window.
Epiphany.EphyDialog
Method
get_control (String property_id) : Gtk.Widget
Gets the internal widget corresponding to property_id from dialog.
Epiphany.EphyEmbed
Method
add_top_widget (Widget widget, Boolean destroy_on_transition) : none
destroyed on page transitions Adds a GtkWidget to the top of the embed.
Epiphany.EphyEmbed
Method
remove_top_widget (Widget widget) : none
Removes an GtkWidget from the top of the embed.
Epiphany.EphyEmbedContainer
Property
active_child : Gtk.Widget
Epiphany.EphyEmbedSingle
Signal
new_window (EphyEmbedSingle self, Widget parent_embed, EphyWebViewChrome mask) : Gtk.Widget
The ::new_window signal is emitted when a new window needs to be opened.
Epiphany.EphyEmbedSingle
Method
open_window (EphyEmbed parent, String address, String name, String features) : Gtk.Widget
Opens a new window, as if it were opened in parent using the Javascript "_blank", "features");.
Epiphany.EphyLink
Signal
open_link (EphyLink self, String object, Widget p0, EphyLinkFlags p1) : Gtk.Widget
Epiphany.EphyNotebook
Signal
tab_close_request (EphyNotebook self, Widget object) : none
Epiphany.EphyShell
Method
get_bookmarks_editor () : Gtk.Widget
Epiphany.EphyShell
Method
get_history_window () : Gtk.Widget
Epiphany.EphyStatusbar
Method
get_security_frame () : Gtk.Widget
Epiphany.EphyStatusbar
Method
add_widget (Widget widget) : none
Adds the widget to the statusbar.
Epiphany.EphyStatusbar
Method
remove_widget (Widget widget) : none
Removes widget, which must have been added to statusbar using ephy_statusbar_add_widget ().
Epiphany.EphyWebView
Signal
new_window (EphyWebView self, Widget new_view) : none
The ::new-window signal is emitted after a new window has been opened by the view.
Epiphany.EphyWindow
Method
get_toolbar () : Gtk.Widget
Returns this window's toolbar as an EggEditableToolbar.
Epiphany.EphyWindow
Method
get_notebook () : Gtk.Widget
Returns the GtkNotebook used by this window.
Epiphany.EphyWindow
Method
get_find_toolbar () : Gtk.Widget
Returns the EphyFindToolbar used by this window.
Epiphany.EphyWindow
Method
get_statusbar () : Gtk.Widget
Returns this window's statusbar as an EphyStatusbar.
Gdaui.BasicForm
Method
get_entry_widget (Holder holder) : Gtk.Widget
Gdaui.BasicForm
Method
get_label_widget (Holder holder) : Gtk.Widget
Gdaui.BasicForm
Method
get_place_holder (String placeholder_id) : Gtk.Widget
Gdaui.Cloud
Method
create_filter_widget () : Gtk.Widget
Gdaui.EntryShell
Method
pack_entry (Widget main_widget) : none
Gladeui
Method
Gladeui.util_add_selection (Widget widget) : none
Add visual selection to this GtkWidget
Gladeui
Method
Gladeui.util_check_and_warn_scrollable (Widget parent, WidgetAdaptor child_adaptor, Widget parent_widget) : Boolean
Gladeui
Method
Gladeui.util_file_dialog_new (String title, Project project, Window parent, UtilFileDialogType action) : Gtk.Widget
Gladeui
Method
Gladeui.util_get_devhelp_icon (IconSize size) : Gtk.Widget
Creates an image displaying the devhelp icon.
Gladeui
Method
Gladeui.util_get_placeholder_from_pointer (Container container) : Gtk.Widget
Gladeui
Method
Gladeui.util_has_selection (Widget widget) : Boolean
Gladeui
Method
Gladeui.util_remove_selection (Widget widget) : none
Remove visual selection from this GtkWidget
Gladeui.App
Method
Gladeui.App.set_window (Widget window) : none
Gladeui.App
Method
Gladeui.App.get_window () : Gtk.Widget
Gladeui.App
Method
Gladeui.App.get_clipboard_view () : Gtk.Widget
Gladeui.App
Method
Gladeui.App.undo_button_new () : Gtk.Widget
Gladeui.App
Method
Gladeui.App.redo_button_new () : Gtk.Widget
Gladeui.BaseEditor
Method
pack_new_window (String title, String help_markup) : Gtk.Widget
This convenience function create a new dialog window and packs editor in it.
Gladeui.Editor
Method
Gladeui.Editor.dialog_for_widget (Widget widget) : Gtk.Widget
This convenience function creates a new dialog window to edit widget specifically.
Gladeui.EditorProperty
Method
Gladeui.EditorProperty.show_i18n_dialog (Widget parent, ProjectFormat fmt, Array text, Array context, Array comment, Object out_values) : Boolean
Runs a dialog and updates the provided values.
Gladeui.EditorProperty
Method
Gladeui.EditorProperty.show_resource_dialog (Project project, Widget parent, Array filename) : Boolean
Gladeui.EditorProperty
Method
Gladeui.EditorProperty.show_object_dialog (Project project, String title, Widget parent, Number object_type, Widget exception, Widget object) : Boolean
Gladeui.GObjectAdaptor
Method
action_submenu (Object object, String action_path) : Gtk.Widget
This delagate function is used to create dynamically customized submenus.
Gladeui.Project
Method
undo_items () : Gtk.Widget
Creates a menu of the undo items in the project stack
Gladeui.Project
Method
redo_items () : Gtk.Widget
Creates a menu of the undo items in the project stack
GooCanvas.CanvasWidget
Property
widget : Gtk.Widget
Gtk
Method
Gtk.drag_begin (Widget widget, TargetList targets, DragAction actions, Number button, Event event) : Gdk.DragContext
Initiates a drag on the source side.
Gtk
Method
Gtk.drag_check_threshold (Widget widget, Number start_x, Number start_y, Number current_x, Number current_y) : Boolean
Checks to see if a mouse drag starting at (start_x, start_y) and ending at (current_x, current_y) has passed the GTK+ drag threshold, and thus should trigger the beginning of a drag-and-drop operation.
Gtk
Method
Gtk.drag_dest_add_image_targets (Widget widget) : none
Add the image targets supported by GtkSelection to the target list of the drag destination.
Gtk
Method
Gtk.drag_dest_add_text_targets (Widget widget) : none
Add the text targets supported by GtkSelection to the target list of the drag destination.
Gtk
Method
Gtk.drag_dest_add_uri_targets (Widget widget) : none
Add the URI targets supported by GtkSelection to the target list of the drag destination.
Gtk
Method
Gtk.drag_dest_find_target (Widget widget, DragContext context, TargetList target_list) : Gdk.Atom
Looks for a match between context->targets and the returning GDK_NONE.
Gtk
Method
Gtk.drag_dest_get_target_list (Widget widget) : Gtk.TargetList
Returns the list of targets this widget can accept from drag-and-drop.
Gtk
Method
Gtk.drag_dest_get_track_motion (Widget widget) : Boolean
Returns whether the widget has been configured to always emit ::drag-motion signals.
Gtk
Method
Gtk.drag_dest_set (Widget widget, DestDefaults flags, Array targets, Number n_targets, DragAction actions) : none
Sets a widget as a potential drop destination, and adds default behaviors.
Gtk
Method
Gtk.drag_dest_set_proxy (Widget widget, Window proxy_window, DragProtocol protocol, Boolean use_coordinates) : none
Gtk
Method
Gtk.drag_dest_set_target_list (Widget widget, TargetList target_list) : none
Sets the target types that this widget can accept from drag-and-drop.
Gtk
Method
Gtk.drag_dest_set_track_motion (Widget widget, Boolean track_motion) : none
Tells the widget to emit ::drag-motion and ::drag-leave events regardless of the targets and the GTK_DEST_DEFAULT_MOTION flag.
Gtk
Method
Gtk.drag_dest_unset (Widget widget) : none
Gtk
Method
Gtk.drag_get_data (Widget widget, DragContext context, Atom target, Number time_) : none
Gtk
Method
Gtk.drag_get_source_widget (DragContext context) : Gtk.Widget
Gtk
Method
Gtk.drag_highlight (Widget widget) : none
Gtk
Method
Gtk.drag_set_icon_widget (DragContext context, Widget widget, Number hot_x, Number hot_y) : none
Changes the icon for a widget to a given widget.
Gtk
Method
Gtk.drag_source_add_image_targets (Widget widget) : none
Add the writable image targets supported by GtkSelection to the target list of the drag source.
Gtk
Method
Gtk.drag_source_add_text_targets (Widget widget) : none
Add the text targets supported by GtkSelection to the target list of the drag source.
Gtk
Method
Gtk.drag_source_add_uri_targets (Widget widget) : none
Add the URI targets supported by GtkSelection to the target list of the drag source.
Gtk
Method
Gtk.drag_source_get_target_list (Widget widget) : Gtk.TargetList
Gets the list of targets this widget can provide for drag-and-drop.
Gtk
Method
Gtk.drag_source_set (Widget widget, ModifierType start_button_mask, Array targets, Number n_targets, DragAction actions) : none
Sets up a widget so that GTK+ will start a drag operation when the user clicks and drags on the widget.
Gtk
Method
Gtk.drag_source_set_icon (Widget widget, Colormap colormap, Pixmap pixmap, Bitmap mask) : none
Sets the icon that will be used for drags from a particular widget from a pixmap/mask.
Gtk
Method
Gtk.drag_source_set_icon_name (Widget widget, String icon_name) : none
Sets the icon that will be used for drags from a particular source to a themed icon.
Gtk
Method
Gtk.drag_source_set_icon_pixbuf (Widget widget, Pixbuf pixbuf) : none
Sets the icon that will be used for drags from a particular widget from a GdkPixbuf.
Gtk
Method
Gtk.drag_source_set_icon_stock (Widget widget, String stock_id) : none
Sets the icon that will be used for drags from a particular source to a stock icon.
Gtk
Method
Gtk.drag_source_set_target_list (Widget widget, TargetList target_list) : none
Changes the target types that this widget offers for drag-and-drop.
Gtk
Method
Gtk.drag_source_unset (Widget widget) : none
Gtk
Method
Gtk.drag_unhighlight (Widget widget) : none
Gtk
Method
Gtk.draw_insertion_cursor (Widget widget, Drawable drawable, Rectangle area, Rectangle location, Boolean is_primary, TextDirection direction, Boolean draw_arrow) : none
Draws a text caret on drawable at location.
Gtk
Method
Gtk.get_event_widget (Event event) : Gtk.Widget
If event is NULL or the event was not associated with any widget, returns NULL, otherwise returns the widget that received the event originally.
Gtk
Method
Gtk.grab_add (Widget widget) : none
Gtk
Method
Gtk.grab_get_current () : Gtk.Widget
Gtk
Method
Gtk.grab_remove (Widget widget) : none
Gtk
Method
Gtk.paint_arrow (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, ArrowType arrow_type, Boolean fill, Number x, Number y, Number width, Number height) : none
Draws an arrow in the given rectangle on window using the given parameters.
Gtk
Method
Gtk.paint_box (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws a box on window with the given parameters.
Gtk
Method
Gtk.paint_box_gap (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height, PositionType gap_side, Number gap_x, Number gap_width) : none
Draws a box in window using the given style and state and shadow type, leaving a gap in one side.
Gtk
Method
Gtk.paint_check (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws a check button indicator in the given rectangle on window with the given parameters.
Gtk
Method
Gtk.paint_diamond (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws a diamond in the given rectangle on window using the given parameters.
Gtk
Method
Gtk.paint_expander (Style style, Window window, StateType state_type, Rectangle area, Widget widget, String detail, Number x, Number y, ExpanderStyle expander_style) : none
Draws an expander as used in GtkTreeView.
Gtk
Method
Gtk.paint_extension (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height, PositionType gap_side) : none
Draws an extension, i.e.
Gtk
Method
Gtk.paint_flat_box (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws a flat box on window with the given parameters.
Gtk
Method
Gtk.paint_focus (Style style, Window window, StateType state_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws a focus indicator around the given rectangle on window using the given style.
Gtk
Method
Gtk.paint_handle (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height, Orientation orientation) : none
Draws a handle as used in GtkHandleBox and GtkPaned.
Gtk
Method
Gtk.paint_hline (Style style, Window window, StateType state_type, Rectangle area, Widget widget, String detail, Number x1, Number x2, Number y) : none
Draws a horizontal line from (x1, y) to (x2, y) in window using the given style and state.
Gtk
Method
Gtk.paint_layout (Style style, Window window, StateType state_type, Boolean use_text, Rectangle area, Widget widget, String detail, Number x, Number y, Layout layout) : none
Draws a layout on window using the given parameters.
Gtk
Method
Gtk.paint_option (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws a radio button indicator in the given rectangle on window with the given parameters.
Gtk
Method
Gtk.paint_polygon (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Point points, Number n_points, Boolean fill) : none
Draws a polygon on window with the given parameters.
Gtk
Method
Gtk.paint_resize_grip (Style style, Window window, StateType state_type, Rectangle area, Widget widget, String detail, WindowEdge edge, Number x, Number y, Number width, Number height) : none
Draws a resize grip in the given rectangle on window using the given parameters.
Gtk
Method
Gtk.paint_shadow (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws a shadow around the given rectangle in window using the given style and state and shadow type.
Gtk
Method
Gtk.paint_shadow_gap (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height, PositionType gap_side, Number gap_x, Number gap_width) : none
Draws a shadow around the given rectangle in window using the given style and state and shadow type, leaving a gap in one side.
Gtk
Method
Gtk.paint_slider (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height, Orientation orientation) : none
Draws a slider in the given rectangle on window using the given style and orientation.
Gtk
Method
Gtk.paint_spinner (Style style, Window window, StateType state_type, Rectangle area, Widget widget, String detail, Number step, Number x, Number y, Number width, Number height) : none
Draws a spinner on window using the given parameters.
Gtk
Method
Gtk.paint_string (Style style, Window window, StateType state_type, Rectangle area, Widget widget, String detail, Number x, Number y, String string) : none
Draws a text string on window with the given parameters.
Gtk
Method
Gtk.paint_tab (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws an option menu tab (i.e.
Gtk
Method
Gtk.paint_vline (Style style, Window window, StateType state_type, Rectangle area, Widget widget, String detail, Number y1_, Number y2_, Number x) : none
Draws a vertical line from (x, y1_) to (x, y2_) in window using the given style and state.
Gtk
Method
Gtk.propagate_event (Widget widget, Event event) : none
Sends an event to a widget, propagating the event to parent widgets if the event remains unhandled.
Gtk
Method
Gtk.rc_get_style (Widget widget) : Gtk.Style
Finds all matching RC styles for a given widget, composites them together, and then creates a GtkStyle representing the composite appearance.
Gtk
Method
Gtk.selection_add_target (Widget widget, Atom selection, Atom target, Number info) : none
Appends a specified target to the list of supported targets for a given widget and selection.
Gtk
Method
Gtk.selection_add_targets (Widget widget, Atom selection, TargetEntry targets, Number ntargets) : none
Prepends a table of targets to the list of supported targets for a given widget and selection.
Gtk
Method
Gtk.selection_clear (Widget widget, EventSelection event) : Boolean
The default handler for the GtkWidget::selection-clear-event signal.
Gtk
Method
Gtk.selection_clear_targets (Widget widget, Atom selection) : none
Remove all targets registered for the given selection for the widget.
Gtk
Method
Gtk.selection_convert (Widget widget, Atom selection, Atom target, Number time_) : Boolean
Requests the contents of a selection.
Gtk
Method
Gtk.selection_owner_set (Widget widget, Atom selection, Number time_) : Boolean
Claims ownership of a given selection for a particular widget, or, if widget is NULL, release ownership of the selection.
Gtk
Method
Gtk.selection_owner_set_for_display (Display display, Widget widget, Atom selection, Number time_) : Boolean
Claim ownership of a given selection for a particular widget, or, if widget is NULL, release ownership of the selection.
Gtk
Method
Gtk.selection_remove_all (Widget widget) : none
Removes all handlers and unsets ownership of all selections for a widget.
Gtk
Method
Gtk.test_create_simple_window (String window_title, String dialog_text) : Gtk.Widget
Gtk
Method
Gtk.test_find_label (Widget widget, String label_pattern) : Gtk.Widget
Gtk
Method
Gtk.test_find_sibling (Widget base_widget, Number widget_type) : Gtk.Widget
Gtk
Method
Gtk.test_find_widget (Widget widget, String label_pattern, Number widget_type) : Gtk.Widget
Gtk
Method
Gtk.test_slider_get_value (Widget widget) : Number
Gtk
Method
Gtk.test_slider_set_perc (Widget widget, Number percentage) : none
Gtk
Method
Gtk.test_text_get (Widget widget) : String
Gtk
Method
Gtk.test_text_set (Widget widget, String string) : none
Gtk
Method
Gtk.test_widget_click (Widget widget, Number button, ModifierType modifiers) : Boolean
Gtk
Method
Gtk.test_widget_send_key (Widget widget, Number keyval, ModifierType modifiers) : Boolean
Gtk
Method
Gtk.text_anchored_child_set_layout (Widget child, TextLayout layout) : none
Gtk.AccelLabel
Property
accel_widget : Gtk.Widget
Gtk.AccelLabel
Method
get_accel_widget () : Gtk.Widget
Fetches the widget monitored by this accelerator label.
Gtk.AccelLabel
Method
set_accel_widget (Widget accel_widget) : none
Sets the widget to be monitored by this accelerator label.
Gtk.Accessible
Method
get_widget () : Gtk.Widget
Gets the GtkWidget corresponding to the GtkAccessible.
Gtk.Action
Method
create_icon (Number icon_size) : Gtk.Widget
This function is intended for use by action implementations to create icons displayed in the proxy widgets.
Gtk.Action
Method
create_menu_item () : Gtk.Widget
Creates a menu item widget that proxies for the given action.
Gtk.Action
Method
create_tool_item () : Gtk.Widget
Creates a toolbar item widget that proxies for the given action.
Gtk.Action
Method
create_menu () : Gtk.Widget
If action provides a GtkMenu widget as a submenu for the menu item or the toolbar item it creates, this function returns an instance of that menu.
Gtk.Action
Method
connect_proxy (Widget proxy) : none
Connects a widget to an action object as a proxy.
Gtk.Action
Method
disconnect_proxy (Widget proxy) : none
Disconnects a proxy widget from an action.
Gtk.Action
Method
block_activate_from (Widget proxy) : none
Disables calls to the gtk_action_activate() function by signals on the given proxy widget.
Gtk.Action
Method
unblock_activate_from (Widget proxy) : none
Re-enables calls to the gtk_action_activate() function by signals on the given proxy widget.
Gtk.ActionGroup
Signal
connect_proxy (ActionGroup self, Action action, Widget proxy) : none
The ::connect-proxy signal is emitted after connecting a proxy to an action in the group.
Gtk.ActionGroup
Signal
disconnect_proxy (ActionGroup self, Action action, Widget proxy) : none
The ::disconnect-proxy signal is emitted after disconnecting a proxy from an action in the group.
Gtk.Assistant
Signal
prepare (Assistant self, Widget page) : none
The ::prepare signal is emitted when a new page is set as the assistant's current page, before making the new page visible.
Gtk.Assistant
Method
get_nth_page (Number page_num) : Gtk.Widget
Returns the child widget contained in page number page_num.
Gtk.Assistant
Method
prepend_page (Widget page) : Number
Prepends a page to the assistant.
Gtk.Assistant
Method
append_page (Widget page) : Number
Appends a page to the assistant.
Gtk.Assistant
Method
insert_page (Widget page, Number position) : Number
Inserts a page in the assistant at a given position.
Gtk.Assistant
Method
set_page_type (Widget page, AssistantPageType type) : none
Sets the page type for page.
Gtk.Assistant
Method
get_page_type (Widget page) : Gtk.AssistantPageType
Gets the page type of page.
Gtk.Assistant
Method
set_page_title (Widget page, String title) : none
Sets a title for page.
Gtk.Assistant
Method
get_page_title (Widget page) : String
Gets the title for page.
Gtk.Assistant
Method
set_page_header_image (Widget page, Pixbuf pixbuf) : none
Sets a header image for page.
Gtk.Assistant
Method
get_page_header_image (Widget page) : GdkPixbuf.Pixbuf
Gets the header image for page.
Gtk.Assistant
Method
set_page_side_image (Widget page, Pixbuf pixbuf) : none
Sets a header image for page.
Gtk.Assistant
Method
get_page_side_image (Widget page) : GdkPixbuf.Pixbuf
Gets the header image for page.
Gtk.Assistant
Method
set_page_complete (Widget page, Boolean complete) : none
Sets whether page contents are complete.
Gtk.Assistant
Method
get_page_complete (Widget page) : Boolean
Gets whether page is complete.
Gtk.Assistant
Method
add_action_widget (Widget child) : none
Adds a widget to the action area of a GtkAssistant.
Gtk.Assistant
Method
remove_action_widget (Widget child) : none
Removes a widget from the action area of a GtkAssistant.
Gtk.Bin
Method
get_child () : Gtk.Widget
Gets the child of the GtkBin, or NULL if the bin contains no child widget.
Gtk.Box
Method
pack_start (Widget child, Boolean expand, Boolean fill, Number padding) : none
Adds child to box, packed with reference to the start of box.
Gtk.Box
Method
pack_end (Widget child, Boolean expand, Boolean fill, Number padding) : none
Adds child to box, packed with reference to the end of box.
Gtk.Box
Method
pack_start_defaults (Widget widget) : none
Adds widget to box, packed with reference to the start of box.
Gtk.Box
Method
pack_end_defaults (Widget widget) : none
Adds widget to box, packed with reference to the end of box.
Gtk.Box
Method
reorder_child (Widget child, Number position) : none
Moves child to a new position in the list of box children.
Gtk.Box
Method
query_child_packing (Widget child, Boolean expand, Boolean fill, Number padding, PackType pack_type) : Object
Obtains information about how child is packed into box.
Gtk.Box
Method
set_child_packing (Widget child, Boolean expand, Boolean fill, Number padding, PackType pack_type) : none
Sets the way child is packed into box.
Gtk.Button
Property
image : Gtk.Widget
Gtk.Button
Method
set_image (Widget image) : none
Set the image of button to the given widget.
Gtk.Button
Method
get_image () : Gtk.Widget
Gets the widget that is currenty set as the image of button.
Gtk.ButtonBox
Method
get_child_secondary (Widget child) : Boolean
Returns whether child should appear in a secondary group of children.
Gtk.ButtonBox
Method
set_child_secondary (Widget child, Boolean is_secondary) : none
Gtk.CList
Method
set_column_widget (Number column, Widget widget) : none
Gtk.CList
Method
get_column_widget (Number column) : Gtk.Widget
Gtk.CellRenderer
Method
get_size (Widget widget, Rectangle cell_area) : Object
Obtains the width and height needed to render the cell.
Gtk.CellRenderer
Method
render (Window window, Widget widget, Rectangle background_area, Rectangle cell_area, Rectangle expose_area, CellRendererState flags) : none
Invokes the virtual render function of the GtkCellRenderer.
Gtk.CellRenderer
Method
activate (Event event, Widget widget, String path, Rectangle background_area, Rectangle cell_area, CellRendererState flags) : Boolean
Passes an activate event to the cell renderer for possible processing.
Gtk.CellRenderer
Method
start_editing (Event event, Widget widget, String path, Rectangle background_area, Rectangle cell_area, CellRendererState flags) : Gtk.CellEditable
Passes an activate event to the cell renderer for possible processing.
Gtk.ColorSelectionDialog
Property
cancel_button : Gtk.Widget read only
Gtk.ColorSelectionDialog
Property
color_selection : Gtk.Widget read only
Gtk.ColorSelectionDialog
Property
help_button : Gtk.Widget read only
Gtk.ColorSelectionDialog
Property
ok_button : Gtk.Widget read only
Gtk.ColorSelectionDialog
Method
get_color_selection () : Gtk.Widget
Retrieves the GtkColorSelection widget embedded in the dialog.
Gtk.Container
Property
child : Gtk.Widget
Gtk.Container
Signal
add (Container self, Widget object) : none
Gtk.Container
Signal
remove (Container self, Widget object) : none
Gtk.Container
Signal
set_focus_child (Container self, Widget object) : none
Gtk.Container
Method
add (Widget widget) : none
Adds widget to container.
Gtk.Container
Method
remove (Widget widget) : none
Removes widget from container.
Gtk.Container
Method
propagate_expose (Widget child, EventExpose event) : none
When a container receives an expose event, it must send synthetic expose events to all children that don't have their own GdkWindows.
Gtk.Container
Method
set_focus_child (Widget child) : none
Sets, or unsets if child is NULL, the focused child of container.
Gtk.Container
Method
get_focus_child () : Gtk.Widget
Returns the current focus child widget inside container.
Gtk.Container
Method
child_set_property (Widget child, String property_name, Value value) : none
Sets a child property for child and container.
Gtk.Container
Method
child_get_property (Widget child, String property_name, Value value) : none
Gets the value of a child property for child and container.
Gtk.Dialog
Method
add_action_widget (Widget child, Number response_id) : none
Adds an activatable widget to the action area of a GtkDialog, connecting a signal handler that will emit the GtkDialog::response signal on the dialog when the widget is activated.
Gtk.Dialog
Method
add_button (String button_text, Number response_id) : Gtk.Widget
Adds a button with the given text (or a stock button, if button_text is a stock ID) and sets things up so that clicking the button will emit the GtkDialog::response signal with the given response_id.
Gtk.Dialog
Method
get_widget_for_response (Number response_id) : Gtk.Widget
Gets the widget button that uses the given response ID in the action area of a dialog.
Gtk.Dialog
Method
get_response_for_widget (Widget widget) : Number
Gets the response id of a widget in the action area of a dialog.
Gtk.Dialog
Method
get_action_area () : Gtk.Widget
Returns the action area of dialog.
Gtk.Dialog
Method
get_content_area () : Gtk.Widget
Returns the content area of dialog.
Gtk.EntryCompletion
Method
get_entry () : Gtk.Widget
Gets the entry completion has been attached to.
Gtk.Expander
Property
label_widget : Gtk.Widget
Gtk.Expander
Method
set_label_widget (Widget label_widget) : none
Set the label widget for the expander.
Gtk.Expander
Method
get_label_widget () : Gtk.Widget
Retrieves the label widget for the frame.
Gtk.FileChooser
Property
extra_widget : Gtk.Widget
Gtk.FileChooser
Property
preview_widget : Gtk.Widget
Gtk.FileChooser
Method
set_preview_widget (Widget preview_widget) : none
Sets an application-supplied widget to use to display a custom preview of the currently selected file.
Gtk.FileChooser
Method
get_preview_widget () : Gtk.Widget
Gets the current preview widget; see gtk_file_chooser_set_preview_widget().
Gtk.FileChooser
Method
set_extra_widget (Widget extra_widget) : none
Sets an application-supplied widget to provide extra options to the user.
Gtk.FileChooser
Method
get_extra_widget () : Gtk.Widget
Gets the current preview widget; see gtk_file_chooser_set_extra_widget().
Gtk.FileChooserButton
Method
new Gtk.FileChooserButton.with_dialog (Widget dialog) : Gtk.FileChooserButton
Create a new Gtk.FileChooserButton
Gtk.Fixed
Method
put (Widget widget, Number x, Number y) : none
Gtk.Fixed
Method
move (Widget widget, Number x, Number y) : none
Gtk.FontSelection
Method
get_family_list () : Gtk.Widget
This returns the GtkTreeView that lists font families, for example, 'Sans', 'Serif', etc.
Gtk.FontSelection
Method
get_face_list () : Gtk.Widget
This returns the GtkTreeView which lists all styles available for the selected font.
Gtk.FontSelection
Method
get_size_entry () : Gtk.Widget
This returns the GtkEntry used to allow the user to edit the font number manually instead of selecting it from the list of font sizes.
Gtk.FontSelection
Method
get_size_list () : Gtk.Widget
This returns the GtkTreeeView used to list font sizes.
Gtk.FontSelection
Method
get_preview_entry () : Gtk.Widget
This returns the GtkEntry used to display the font as a preview.
Gtk.FontSelectionDialog
Method
get_ok_button () : Gtk.Widget
Gets the 'OK' button.
Gtk.FontSelectionDialog
Method
get_apply_button () : Gtk.Widget
Obtains a button.
Gtk.FontSelectionDialog
Method
get_cancel_button () : Gtk.Widget
Gets the 'Cancel' button.
Gtk.Frame
Property
label_widget : Gtk.Widget
Gtk.Frame
Method
set_label_widget (Widget label_widget) : none
Sets the label widget for the frame.
Gtk.Frame
Method
get_label_widget () : Gtk.Widget
Retrieves the label widget for the frame.
Gtk.HandleBox
Signal
child_attached (HandleBox self, Widget object) : none
Gtk.HandleBox
Signal
child_detached (HandleBox self, Widget object) : none
Gtk.IconSet
Method
render_icon (Style style, TextDirection direction, StateType state, Number size, Widget widget, String detail) : GdkPixbuf.Pixbuf
Renders an icon using gtk_style_render_icon().
Gtk.ImageMenuItem
Property
image : Gtk.Widget
Gtk.ImageMenuItem
Method
set_image (Widget image) : none
Gtk.ImageMenuItem
Method
get_image () : Gtk.Widget
Gets the widget that is currently set as the image of image_menu_item.
Gtk.InfoBar
Method
get_action_area () : Gtk.Widget
Returns the action area of info_bar.
Gtk.InfoBar
Method
get_content_area () : Gtk.Widget
Returns the content area of info_bar.
Gtk.InfoBar
Method
add_action_widget (Widget child, Number response_id) : none
Add an activatable widget to the action area of a GtkInfoBar, connecting a signal handler that will emit the GtkInfoBar::response signal on the message area when the widget is activated.
Gtk.InfoBar
Method
add_button (String button_text, Number response_id) : Gtk.Widget
Adds a button with the given text (or a stock button, if button_text is a stock ID) and sets things up so that clicking the button will emit the "response" signal with the given response_id.
Gtk.ItemFactory
Method
Gtk.ItemFactory.add_foreign (Widget accel_widget, String full_path, AccelGroup accel_group, Number keyval, ModifierType modifiers) : none
Installs an accelerator for accel_widget in accel_group, that causes the ::activate signal to be emitted if the accelerator is activated.
Gtk.ItemFactory
Method
Gtk.ItemFactory.from_widget (Widget widget) : Gtk.ItemFactory
Obtains the item factory from which a widget was created.
Gtk.ItemFactory
Method
Gtk.ItemFactory.path_from_widget (Widget widget) : String
If widget has been created by an item factory, returns the full path to it.
Gtk.ItemFactory
Method
Gtk.ItemFactory.popup_data_from_widget (Widget widget) : void*
Obtains the popup_data which was passed to gtk_item_factory_popup_with_data().
Gtk.ItemFactory
Method
get_item (String path) : Gtk.Widget
Gtk.ItemFactory
Method
get_widget (String path) : Gtk.Widget
Obtains the widget which corresponds to path.
Gtk.ItemFactory
Method
get_widget_by_action (Number action) : Gtk.Widget
Obtains the widget which was constructed from the GtkItemFactoryEntry with the given action.
Gtk.ItemFactory
Method
get_item_by_action (Number action) : Gtk.Widget
Obtains the menu item which was constructed from the first GtkItemFactoryEntry with the given action.
Gtk.Label
Property
mnemonic_widget : Gtk.Widget
Gtk.Label
Method
set_mnemonic_widget (Widget widget) : none
If the label has been set so that it has an mnemonic key (using i.e.
Gtk.Label
Method
get_mnemonic_widget () : Gtk.Widget
Retrieves the target of the mnemonic (keyboard shortcut) of this label.
Gtk.Layout
Method
put (Widget child_widget, Number x, Number y) : none
Adds child_widget to layout, at position (x,y).
Gtk.Layout
Method
move (Widget child_widget, Number x, Number y) : none
Moves a current child of layout to a new position.
Gtk.List
Signal
select_child (List self, Widget object) : none
Gtk.List
Signal
unselect_child (List self, Widget object) : none
Gtk.List
Method
select_child (Widget child) : none
Gtk.List
Method
unselect_child (Widget child) : none
Gtk.List
Method
child_position (Widget child) : Number
Gtk.List
Method
toggle_row (Widget item) : none
Gtk.Menu
Property
attach_widget : Gtk.Widget
The widget the menu is attached to.
Gtk.Menu
Method
Gtk.Menu.get_for_attach_widget (Widget widget) : Array
Returns a list of the menus which are attached to this widget.
Gtk.Menu
Method
popup (Widget parent_menu_shell, Widget parent_menu_item, Function func, void* data, Number button, Number activate_time) : none
Displays a menu and makes it available for selection.
Gtk.Menu
Method
get_active () : Gtk.Widget
Gtk.Menu
Method
attach_to_widget (Widget attach_widget, Function detacher) : none
Gtk.Menu
Method
get_attach_widget () : Gtk.Widget
Gtk.Menu
Method
reorder_child (Widget child, Number position) : none
Gtk.Menu
Method
attach (Widget child, Number left_attach, Number right_attach, Number top_attach, Number bottom_attach) : none
Adds a new GtkMenuItem to a (table) menu.
Gtk.MenuItem
Method
set_submenu (Widget submenu) : none
Sets or replaces the menu item's submenu, or removes it when a NULL submenu is passed.
Gtk.MenuItem
Method
get_submenu () : Gtk.Widget
Gets the submenu underneath this menu item, if any.
Gtk.MenuShell
Method
append (Widget child) : none
Gtk.MenuShell
Method
prepend (Widget child) : none
Gtk.MenuShell
Method
insert (Widget child, Number position) : none
Gtk.MenuShell
Method
select_item (Widget menu_item) : none
Gtk.MenuShell
Method
activate_item (Widget menu_item, Boolean force_deactivate) : none
Gtk.MenuToolButton
Method
new Gtk.MenuToolButton.c_new (Widget icon_widget, String label) : Gtk.MenuToolButton
Create a new Gtk.MenuToolButton
Gtk.MenuToolButton
Method
set_menu (Widget menu) : none
Sets the GtkMenu that is popped up when the user clicks on the arrow.
Gtk.MenuToolButton
Method
get_menu () : Gtk.Widget
Gets the GtkMenu associated with GtkMenuToolButton.
Gtk.MessageDialog
Property
image : Gtk.Widget
The image for this dialog.
Gtk.MessageDialog
Method
set_image (Widget image) : none
Sets the dialog's image to image.
Gtk.MessageDialog
Method
get_image () : Gtk.Widget
Gets the dialog's image.
Gtk.Notebook
Signal
create_window (Notebook self, Widget page, Number x, Number y) : Gtk.Notebook
The ::create-window signal is emitted when a detachable tab is dropped on the root window.
Gtk.Notebook
Signal
page_added (Notebook self, Widget child, Number page_num) : none
the ::page-added signal is emitted in the notebook right after a page is added to the notebook.
Gtk.Notebook
Signal
page_removed (Notebook self, Widget child, Number page_num) : none
the ::page-removed signal is emitted in the notebook right after a page is removed from the notebook.
Gtk.Notebook
Signal
page_reordered (Notebook self, Widget child, Number page_num) : none
the ::page-reordered signal is emitted in the notebook right after a page has been reordered.
Gtk.Notebook
Method
append_page (Widget child, Widget tab_label) : Number
Appends a page to notebook.
Gtk.Notebook
Method
append_page_menu (Widget child, Widget tab_label, Widget menu_label) : Number
Appends a page to notebook, specifying the widget to use as the label in the popup menu.
Gtk.Notebook
Method
prepend_page (Widget child, Widget tab_label) : Number
Prepends a page to notebook.
Gtk.Notebook
Method
prepend_page_menu (Widget child, Widget tab_label, Widget menu_label) : Number
Prepends a page to notebook, specifying the widget to use as the label in the popup menu.
Gtk.Notebook
Method
insert_page (Widget child, Widget tab_label, Number position) : Number
Insert a page into notebook at the given position.
Gtk.Notebook
Method
insert_page_menu (Widget child, Widget tab_label, Widget menu_label, Number position) : Number
Insert a page into notebook at the given position, specifying the widget to use as the label in the popup menu.
Gtk.Notebook
Method
get_nth_page (Number page_num) : Gtk.Widget
Returns the child widget contained in page number page_num.
Gtk.Notebook
Method
page_num (Widget child) : Number
Finds the index of the page which contains the given child widget.
Gtk.Notebook
Method
get_tab_label (Widget child) : Gtk.Widget
Returns the tab label widget for the page child.
Gtk.Notebook
Method
set_tab_label (Widget child, Widget tab_label) : none
Changes the tab label for child.
Gtk.Notebook
Method
set_tab_label_text (Widget child, String tab_text) : none
Creates a new label and sets it as the tab label for the page containing child.
Gtk.Notebook
Method
get_tab_label_text (Widget child) : String
Retrieves the text of the tab label for the page containing tab label widget is not a GtkLabel.
Gtk.Notebook
Method
get_menu_label (Widget child) : Gtk.Widget
Retrieves the menu label widget of the page containing child.
Gtk.Notebook
Method
set_menu_label (Widget child, Widget menu_label) : none
Changes the menu label for the page containing child.
Gtk.Notebook
Method
set_menu_label_text (Widget child, String menu_text) : none
Creates a new label and sets it as the menu label of child.
Gtk.Notebook
Method
get_menu_label_text (Widget child) : String
Retrieves the text of the menu label for the page containing widget does not have a menu label other than the default menu label, or the menu label widget is not a GtkLabel.
Gtk.Notebook
Method
query_tab_label_packing (Widget child, Boolean expand, Boolean fill, PackType pack_type) : Object
Query the packing attributes for the tab label of the page containing child.
Gtk.Notebook
Method
set_tab_label_packing (Widget child, Boolean expand, Boolean fill, PackType pack_type) : none
Sets the packing parameters for the tab label of the page containing child.
Gtk.Notebook
Method
reorder_child (Widget child, Number position) : none
Reorders the page containing child, so that it appears in position children in the list or negative, child will be moved to the end of the list.
Gtk.Notebook
Method
get_tab_reorderable (Widget child) : Boolean
Gets whether the tab can be reordered via drag and drop or not.
Gtk.Notebook
Method
set_tab_reorderable (Widget child, Boolean reorderable) : none
Sets whether the notebook tab can be reordered via drag and drop or not.
Gtk.Notebook
Method
get_tab_detachable (Widget child) : Boolean
Returns whether the tab contents can be detached from notebook.
Gtk.Notebook
Method
set_tab_detachable (Widget child, Boolean detachable) : none
Sets whether the tab can be detached from notebook to another notebook or widget.
Gtk.Notebook
Method
get_action_widget (PackType pack_type) : Gtk.Widget
Gets one of the action widgets.
Gtk.Notebook
Method
set_action_widget (Widget widget, PackType pack_type) : none
Sets widget as one of the action widgets.
Gtk.OptionMenu
Method
get_menu () : Gtk.Widget
Gtk.OptionMenu
Method
set_menu (Widget menu) : none
Gtk.Paned
Method
add1 (Widget child) : none
Gtk.Paned
Method
add2 (Widget child) : none
Gtk.Paned
Method
pack1 (Widget child, Boolean resize, Boolean shrink) : none
Gtk.Paned
Method
pack2 (Widget child, Boolean resize, Boolean shrink) : none
Gtk.Paned
Method
get_child1 () : Gtk.Widget
Obtains the first child of the paned widget.
Gtk.Paned
Method
get_child2 () : Gtk.Widget
Obtains the second child of the paned widget.
Gtk.PrintOperation
Signal
custom_widget_apply (PrintOperation self, Widget widget) : none
Emitted right before GtkPrintOperation::begin-print if you added a custom widget in the GtkPrintOperation::create-custom-widget handler.
Gtk.PrintOperation
Signal
update_custom_widget (PrintOperation self, Widget widget, PageSetup setup, PrintSettings settings) : none
Emitted after change of selected printer.
Gtk.ScaleButton
Method
get_plus_button () : Gtk.Widget
Retrieves the plus button of the GtkScaleButton.
Gtk.ScaleButton
Method
get_minus_button () : Gtk.Widget
Retrieves the minus button of the GtkScaleButton.
Gtk.ScaleButton
Method
get_popup () : Gtk.Widget
Retrieves the popup of the GtkScaleButton.
Gtk.ScrolledWindow
Method
get_hscrollbar () : Gtk.Widget
Returns the horizontal scrollbar of scrolled_window.
Gtk.ScrolledWindow
Method
get_vscrollbar () : Gtk.Widget
Returns the vertical scrollbar of scrolled_window.
Gtk.ScrolledWindow
Method
add_with_viewport (Widget child) : none
Used to add children without native scrolling capabilities.
Gtk.SizeGroup
Method
add_widget (Widget widget) : none
Adds a widget to a GtkSizeGroup.
Gtk.SizeGroup
Method
remove_widget (Widget widget) : none
Removes a widget from a GtkSizeGroup.
Gtk.Statusbar
Method
get_message_area () : Gtk.Widget
Retrieves the box containing the label widget.
Gtk.Style
Method
render_icon (IconSource source, TextDirection direction, StateType state, Number size, Widget widget, String detail) : GdkPixbuf.Pixbuf
Renders the icon specified by source at the given size according to the given parameters and returns the result in a pixbuf.
Gtk.Table
Method
attach (Widget child, Number left_attach, Number right_attach, Number top_attach, Number bottom_attach, AttachOptions xoptions, AttachOptions yoptions, Number xpadding, Number ypadding) : none
Gtk.Table
Method
attach_defaults (Widget widget, Number left_attach, Number right_attach, Number top_attach, Number bottom_attach) : none
Gtk.TextChildAnchor
Method
register_child (Widget child, TextLayout layout) : none
Gtk.TextChildAnchor
Method
unregister_child (Widget child) : none
Gtk.TextView
Method
add_child_at_anchor (Widget child, TextChildAnchor anchor) : none
Adds a child widget in the text buffer, at the given anchor.
Gtk.TextView
Method
add_child_in_window (Widget child, TextWindowType which_window, Number xpos, Number ypos) : none
Adds a child at fixed coordinates in one of the text widget's windows.
Gtk.TextView
Method
move_child (Widget child, Number xpos, Number ypos) : none
Updates the position of a child, as for gtk_text_view_add_child_in_window().
Gtk.TipsQuery
Property
caller : Gtk.Widget
Gtk.TipsQuery
Signal
widget_entered (TipsQuery self, Widget object, String p0, String p1) : none
Gtk.TipsQuery
Signal
widget_selected (TipsQuery self, Widget object, String p0, String p1, Event p2) : Boolean
Gtk.TipsQuery
Method
set_caller (Widget caller) : none
Gtk.ToolButton
Property
icon_widget : Gtk.Widget
Gtk.ToolButton
Property
label_widget : Gtk.Widget
Gtk.ToolButton
Method
new Gtk.ToolButton.c_new (Widget icon_widget, String label) : Gtk.ToolButton
Create a new Gtk.ToolButton
Gtk.ToolButton
Method
set_icon_widget (Widget icon_widget) : none
Sets icon as the widget used as icon on button.
Gtk.ToolButton
Method
get_icon_widget () : Gtk.Widget
Return the widget used as icon widget on button.
Gtk.ToolButton
Method
set_label_widget (Widget label_widget) : none
Sets label_widget as the widget that will be used as the label for button.
Gtk.ToolButton
Method
get_label_widget () : Gtk.Widget
Returns the widget used as label on button.
Gtk.ToolItem
Method
retrieve_proxy_menu_item () : Gtk.Widget
Returns the GtkMenuItem that was last set by gtk_tool_item_set_proxy_menu_item(), ie.
Gtk.ToolItem
Method
get_proxy_menu_item (String menu_item_id) : Gtk.Widget
If menu_item_id matches the string passed to gtk_tool_item_set_proxy_menu_item() return the corresponding GtkMenuItem.
Gtk.ToolItem
Method
set_proxy_menu_item (String menu_item_id, Widget menu_item) : none
Sets the GtkMenuItem used in the toolbar overflow menu.
Gtk.ToolItemGroup
Property
label_widget : Gtk.Widget
Gtk.ToolItemGroup
Method
set_label_widget (Widget label_widget) : none
Sets the label of the tool item group.
Gtk.ToolItemGroup
Method
get_label_widget () : Gtk.Widget
Gets the label widget of group.
Gtk.ToolPalette
Method
get_drag_item (SelectionData selection) : Gtk.Widget
Get the dragged item from the selection.
Gtk.ToolPalette
Method
add_drag_dest (Widget widget, DestDefaults flags, ToolPaletteDragTargets targets, DragAction actions) : none
Sets palette as drag source (see gtk_tool_palette_set_drag_source()) and sets widget as a drag destination for drags from palette.
Gtk.Toolbar
Method
append_item (String text, String tooltip_text, String tooltip_private_text, Widget icon, Function callback, void* user_data) : Gtk.Widget
Inserts a new item into the toolbar.
Gtk.Toolbar
Method
prepend_item (String text, String tooltip_text, String tooltip_private_text, Widget icon, Function callback, void* user_data) : Gtk.Widget
Adds a new button to the beginning (top or left edges) of the given toolbar.
Gtk.Toolbar
Method
insert_item (String text, String tooltip_text, String tooltip_private_text, Widget icon, Function callback, void* user_data, Number position) : Gtk.Widget
Inserts a new item into the toolbar.
Gtk.Toolbar
Method
insert_stock (String stock_id, String tooltip_text, String tooltip_private_text, Function callback, void* user_data, Number position) : Gtk.Widget
Inserts a stock item at the specified position of the toolbar.
Gtk.Toolbar
Method
append_element (ToolbarChildType type, Widget widget, String text, String tooltip_text, String tooltip_private_text, Widget icon, Function callback, void* user_data) : Gtk.Widget
Adds a new element to the end of a toolbar.
Gtk.Toolbar
Method
prepend_element (ToolbarChildType type, Widget widget, String text, String tooltip_text, String tooltip_private_text, Widget icon, Function callback, void* user_data) : Gtk.Widget
Adds a new element to the beginning of a toolbar.
Gtk.Toolbar
Method
insert_element (ToolbarChildType type, Widget widget, String text, String tooltip_text, String tooltip_private_text, Widget icon, Function callback, void* user_data, Number position) : Gtk.Widget
Inserts a new element in the toolbar at the given position.
Gtk.Toolbar
Method
append_widget (Widget widget, String tooltip_text, String tooltip_private_text) : none
Adds a widget to the end of the given toolbar.
Gtk.Toolbar
Method
prepend_widget (Widget widget, String tooltip_text, String tooltip_private_text) : none
Adds a widget to the beginning of the given toolbar.
Gtk.Toolbar
Method
insert_widget (Widget widget, String tooltip_text, String tooltip_private_text, Number position) : none
Inserts a widget in the toolbar at the given position.
Gtk.Tooltip
Method
set_custom (Widget custom_widget) : none
Replaces the widget packed into the tooltip with away.
Gtk.Tooltips
Method
Gtk.Tooltips.data_get (Widget widget) : Gtk.TooltipsData
Gtk.Tooltips
Method
Gtk.Tooltips.get_info_from_tip_window (Window tip_window, Tooltips tooltips, Widget current_widget) : Boolean
Determines the tooltips and the widget they belong to from the window in which they are displayed.
Gtk.Tooltips
Method
set_tip (Widget widget, String tip_text, String tip_private) : none
Adds a tooltip containing the message tip_text to the specified GtkWidget.
Gtk.TreeViewColumn
Property
widget : Gtk.Widget
Gtk.TreeViewColumn
Method
set_widget (Widget widget) : none
Sets the widget in the header to be widget.
Gtk.TreeViewColumn
Method
get_widget () : Gtk.Widget
Returns the GtkWidget in the button on the column header.
Gtk.TreeViewColumn
Method
get_tree_view () : Gtk.Widget
Returns the GtkTreeView wherein tree_column has been inserted.
Gtk.UIManager
Signal
add_widget (UIManager self, Widget widget) : none
The add_widget signal is emitted for each generated menubar and toolbar.
Gtk.UIManager
Signal
connect_proxy (UIManager self, Action action, Widget proxy) : none
The connect_proxy signal is emitted after connecting a proxy to an action in the group.
Gtk.UIManager
Signal
disconnect_proxy (UIManager self, Action action, Widget proxy) : none
The disconnect_proxy signal is emitted after disconnecting a proxy from an action in the group.
Gtk.UIManager
Method
get_widget (String path) : Gtk.Widget
Looks up a widget by following a path.
Gtk.Window
Signal
set_focus (Window self, Widget object) : none
Gtk.Window
Method
set_focus (Widget focus) : none
If focus is not the current focus widget, and is focusable, sets it as the focus widget for the window.
Gtk.Window
Method
get_focus () : Gtk.Widget
Retrieves the current focused widget within the window.
Gtk.Window
Method
set_default (Widget default_widget) : none
The default widget is the widget that's activated when the user presses Enter in a dialog (for example).
Gtk.Window
Method
get_default_widget () : Gtk.Widget
Returns the default widget for window.
Gtk.Window
Method
set_geometry_hints (Widget geometry_widget, Geometry geometry, WindowHints geom_mask) : none
This function sets up hints about how a window can be resized by the user.
Gtk.Window
Method
add_mnemonic (Number keyval, Widget target) : none
Adds a mnemonic to this window.
Gtk.Window
Method
remove_mnemonic (Number keyval, Widget target) : none
Removes a mnemonic from this window.
GtkClutter
Method
GtkClutter.calculate_actor_allocation (Widget widget, Rectangle allocation) : none
Returns the GtkAllocation of a widget relative to a widget known to Clutter-GTK+.
GtkClutter
Method
GtkClutter.calculate_root_allocation (Widget widget, Rectangle allocation) : none
Returns the GtkAllocation of a widget relative to the top-level.
GtkClutter
Method
GtkClutter.get_base_color (Widget widget, StateType state, Color color) : none
Retrieves the base color of widget for the given state and copies it into color.
GtkClutter
Method
GtkClutter.get_bg_color (Widget widget, StateType state, Color color) : none
Retrieves the background color of widget for the given state and copies it into color.
GtkClutter
Method
GtkClutter.get_dark_color (Widget widget, StateType state, Color color) : none
Retrieves the dark color of widget for the given state and copies it into color.
GtkClutter
Method
GtkClutter.get_fg_color (Widget widget, StateType state, Color color) : none
Retrieves the foreground color of widget for the given state and copies it into color.
GtkClutter
Method
GtkClutter.get_light_color (Widget widget, StateType state, Color color) : none
Retrieves the light color of widget for the given state and copies it into color.
GtkClutter
Method
GtkClutter.get_mid_color (Widget widget, StateType state, Color color) : none
Retrieves the mid color of widget for the given state and copies it into color.
GtkClutter
Method
GtkClutter.get_text_aa_color (Widget widget, StateType state, Color color) : none
Retrieves the text-aa color of widget for the given state and copies it into color.
GtkClutter
Method
GtkClutter.get_text_color (Widget widget, StateType state, Color color) : none
Retrieves the text color of widget for the given state and copies it into color.
GtkClutter
Method
GtkClutter.texture_new_from_icon_name (Widget widget, String icon_name, IconSize size) : Clutter.Actor
Creates a new ClutterTexture and sets its contents to be the icon_name from the current icon theme.
GtkClutter
Method
GtkClutter.texture_new_from_stock (Widget widget, String stock_id, IconSize size) : Clutter.Actor
Creates a new ClutterTexture and sets its contents using the stock icon stock_id as rendered by widget.
GtkClutter
Method
GtkClutter.texture_set_from_icon_name (Texture texture, Widget widget, String icon_name, IconSize size) : Boolean
Sets the contents of texture using the icon_name from the current icon theme.
GtkClutter
Method
GtkClutter.texture_set_from_stock (Texture texture, Widget widget, String stock_id, IconSize size) : Boolean
Sets the contents of texture using the stock icon stock_id, as rendered by widget.
GtkClutter.Actor
Method
new GtkClutter.Actor.with_contents (Widget contents) : GtkClutter.Actor
Create a new GtkClutter.Actor
GtkClutter.Actor
Method
get_widget () : Gtk.Widget
GtkSource.CompletionInfo
Method
set_widget (Widget widget) : none
Sets the content widget of the info window.
GtkSource.CompletionInfo
Method
get_widget () : Gtk.Widget
Get the current content widget.
GtkSource.CompletionProvider
Method
get_info_widget (CompletionProposal proposal) : Gtk.Widget
Get a customized info widget to show extra information of a proposal.
Notify.Notification
Property
attach_widget : Gtk.Widget
Notify.Notification
Method
new Notify.Notification.c_new (String summary, String body, String icon, Widget attach) : Notify.Notification
Create a new Notify.Notification
Notify.Notification
Method
attach_to_widget (Widget attach) : none
PanelApplet.PanelApplet
Method
set_background_widget (Widget widget) : none
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:37 GMT+0800 (HKT)