DockItem
Object Hierarchy:
Description:
Namespace: Gdl
Package: gdl-1.0
Content:
Properties:
- public DockItemBehavior behavior { get; set; }
- public bool locked { get; set; }
- public Orientation orientation { get; set construct; }
The orientation of the docking item.
- public int preferred_height { get; set; }
- public int preferred_width { get; set; }
- public bool resize { get; set; }
Creation methods:
- public DockItem (string name, string long_name, DockItemBehavior behavior)
Creates a new dock item widget.
- public DockItem.with_stock (string name, string long_name, string stock_id, DockItemBehavior behavior)
Creates a new dock item grip widget with a given stock id.
Methods:
- public void @lock ()
This function locks the dock item.
- public void @unlock ()
This function unlocks the dock item.
- public void bind (Widget dock)
Binds this dock item to a new dock master.
- public void dock_to (DockItem? target, DockPlacement position, int docking_param)
Relocates a dock item to a new location relative to another dock item.
- public unowned Widget get_grip ()
This function returns the dock item's grip label widget.
- public unowned Widget get_tablabel ()
Gets the current tab label widget.
- public void hide_grip ()
This function hides the dock item's grip widget.
- public void hide_item ()
This function hides the dock item.
- public void iconify_item ()
This function iconifies the dock item.
- public void notify_selected ()
This function emits the selected signal.
- public void preferred_size (Requisition req)
Gets the preferred size of the dock item in pixels.
- public void set_default_position (DockObject reference)
This method has only an effect when you add you dock_item with GDL_DOCK_ITEM_BEH_NEVER_FLOATING.
- public virtual void set_orientation (Orientation orientation)
This function sets the layout of the dock item.
- public void set_tablabel (Widget tablabel)
Replaces the current tab label widget with another widget.
- public void show_grip ()
This function shows the dock item's grip widget.
- public void show_item ()
This function shows the dock item.
- public void unbind ()
Unbinds this dock item from it's dock master.
Signals:
- public virtual signal void dock_drag_begin ()
Signals that the dock item has begun to be dragged.
- public virtual signal void dock_drag_end (bool cancelled)
Signals that the dock item dragging has ended.
- public virtual signal void dock_drag_motion (int x, int y)
Signals that a dock item dragging motion event has occured.
- public virtual signal void selected ()
Signals that this dock has been selected from a switcher.
Fields:
Inherited Members:
All known members inherited from class Gdl.DockObject
All known members inherited from class Gtk.Container
All known members inherited from class Gtk.Widget
- accel_closures_changed
- activate
- add_accelerator
- add_events
- add_mnemonic_label
- allocation
- app_paintable
- button_press_event
- button_release_event
- can_activate_accel
- can_default
- can_focus
- child_focus
- child_notify
- class_path
- client_event
- composite_child
- composited_changed
- configure_event
- create_pango_context
- create_pango_layout
- damage_event
- delete_event
- destroy_event
- destroyed
- direction_changed
- dispatch_child_properties_changed
- double_buffered
- drag_begin
- drag_data_delete
- drag_data_get
- drag_data_received
- drag_drop
- drag_end
- drag_failed
- drag_leave
- drag_motion
- ensure_style
- enter_notify_event
- error_bell
- event
- event_after
- events
- expose_event
- extension_events
- find_style_property
- focus
- focus_in_event
- focus_out_event
- freeze_child_notify
- get_accessible
- get_allocation
- get_ancestor
- get_app_paintable
- get_can_default
- get_can_focus
- get_child_requisition
- get_child_visible
- get_clipboard
- get_colormap
- get_composite_name
- get_default_colormap
- get_default_direction
- get_default_style
- get_default_visual
- get_direction
- get_display
- get_double_buffered
- get_events
- get_extension_events
- get_flags
- get_has_tooltip
- get_has_window
- get_mapped
- get_modifier_style
- get_no_show_all
- get_pango_context
- get_parent
- get_parent_window
- get_pointer
- get_realized
- get_receives_default
- get_requisition
- get_root_window
- get_screen
- get_sensitive
- get_settings
- get_size_request
- get_snapshot
- get_state
- get_style
- get_tooltip_markup
- get_tooltip_text
- get_tooltip_window
- get_toplevel
- get_visible
- get_visual
- get_window
- grab_broken_event
- grab_default
- grab_focus
- grab_notify
- has_default
- has_focus
- has_grab
- has_rc_style
- has_screen
- has_tooltip
- height_request
- hide
- hide_all
- hide_on_delete
- hierarchy_changed
- input_shape_combine_mask
- install_style_property
- install_style_property_parser
- intersect
- is_ancestor
- is_composited
- is_double_buffered
- is_drawable
- is_focus
- is_mapped
- is_no_window
- is_parent_sensitive
- is_rc_style
- is_realized
- is_sensitive
- is_toplevel
- key_press_event
- key_release_event
- keynav_failed
- leave_notify_event
- list_accel_closures
- list_mnemonic_labels
- list_style_properties
- map
- map_event
- mnemonic_activate
- modify_base
- modify_bg
- modify_cursor
- modify_fg
- modify_font
- modify_style
- modify_text
- motion_notify_event
- move_focus
- name
- no_expose_event
- no_show_all
- parent
- parent_set
- path
- pop_colormap
- pop_composite_child
- popup_menu
- property_notify_event
- proximity_in_event
- proximity_out_event
- push_colormap
- push_composite_child
- query_tooltip
- queue_draw
- queue_draw_area
- queue_resize
- queue_resize_no_redraw
- realize
- receives_default
- region_intersect
- remove_accelerator
- remove_mnemonic_label
- render_icon
- reparent
- requisition
- reset_rc_styles
- reset_shapes
- saved_state
- screen_changed
- scroll_event
- selection_clear_event
- selection_get
- selection_notify_event
- selection_received
- selection_request_event
- send_expose
- send_focus_change
- sensitive
- set_accel_path
- set_allocation
- set_app_paintable
- set_can_default
- set_can_focus
- set_child_visible
- set_colormap
- set_composite_name
- set_default_colormap
- set_default_direction
- set_direction
- set_double_buffered
- set_events
- set_extension_events
- set_flags
- set_has_tooltip
- set_has_window
- set_mapped
- set_no_show_all
- set_parent
- set_parent_window
- set_realized
- set_receives_default
- set_redraw_on_allocate
- set_scroll_adjustments
- set_scroll_adjustments_signal
- set_sensitive
- set_size_request
- set_state
- set_style
- set_tooltip_markup
- set_tooltip_text
- set_tooltip_window
- set_visible
- set_window
- shape_combine_mask
- show
- show_all
- show_help
- show_now
- size_allocate
- size_request
- state
- state_changed
- style
- style_attach
- style_get
- style_get_property
- style_get_valist
- style_set
- thaw_child_notify
- tooltip_markup
- tooltip_text
- translate_coordinates
- trigger_tooltip_query
- unmap
- unmap_event
- unparent
- unrealize
- unset_flags
- visibility_notify_event
- visible
- width_request
- window
- window_state_event
All known members inherited from class GLib.Object
All known members inherited from interface Atk.Implementor
All known members inherited from interface Gtk.Buildable