[CCode (cprefix = "Gdl", lower_case_cprefix = "gdl_")]
namespace Gdl {
[CCode (cheader_filename = "gdl/gdl.h")]
- public class Dock : Gdl.DockObject, Gtk.Buildable, Atk.Implementor {
+ public class Dock : Gdl.DockObject, Atk.Implementor, Gtk.Buildable {
public weak Gdl.DockObject root;
[CCode (type = "GtkWidget*", has_construct_function = false)]
public Dock ();
public virtual signal void layout_changed ();
}
[CCode (cheader_filename = "gdl/gdl.h")]
- public class DockBar : Gtk.Box, Gtk.Buildable, Atk.Implementor, Gtk.Orientable {
+ public class DockBar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
public weak Gdl.Dock dock;
[CCode (type = "GtkWidget*", has_construct_function = false)]
public DockBar (Gdl.Dock dock);
public Gdl.DockMaster master { owned get; set; }
}
[CCode (cheader_filename = "gdl/gdl.h")]
- public class DockItem : Gdl.DockObject, Gtk.Buildable, Atk.Implementor {
+ public class DockItem : Gdl.DockObject, Atk.Implementor, Gtk.Buildable {
public weak Gtk.Widget child;
public int dragoff_x;
public int dragoff_y;
public void hide_item ();
public void iconify_item ();
public void @lock ();
+ public void notify_selected ();
public void preferred_size (Gtk.Requisition req);
public void set_default_position (Gdl.DockObject reference);
public virtual void set_orientation (Gtk.Orientation orientation);
public virtual signal void dock_drag_begin ();
public virtual signal void dock_drag_end (bool cancelled);
public virtual signal void dock_drag_motion (int x, int y);
+ public virtual signal void selected ();
}
[CCode (cheader_filename = "gdl/gdl.h")]
- public class DockItemGrip : Gtk.Container, Gtk.Buildable, Atk.Implementor {
+ public class DockItemGrip : Gtk.Container, Atk.Implementor, Gtk.Buildable {
public weak Gdk.Window title_window;
[CCode (type = "GtkWidget*", has_construct_function = false)]
public DockItemGrip (Gdl.DockItem item);
public virtual signal void layout_changed ();
}
[CCode (cheader_filename = "gdl/gdl.h")]
- public class DockObject : Gtk.Container, Gtk.Buildable, Atk.Implementor {
+ public class DockObject : Gtk.Container, Atk.Implementor, Gtk.Buildable {
public Gdl.DockObjectFlags flags;
public int freeze_count;
public bool reduce_pending;
public void freeze ();
public unowned Gdl.DockObject get_parent_object ();
public unowned Gdl.Dock get_toplevel ();
+ [CCode (cname = "GDL_DOCK_OBJECT_ATTACHED")]
+ public bool is_attached ();
+ [CCode (cname = "GDL_DOCK_OBJECT_AUTOMATIC")]
+ public bool is_automatic ();
public bool is_bound ();
public bool is_compound ();
+ [CCode (cname = "GDL_DOCK_OBJECT_FROZEN")]
+ public bool is_frozen ();
+ [CCode (cname = "GDL_DOCK_OBJECT_IN_DETACH")]
+ public bool is_in_detach ();
+ [CCode (cname = "GDL_DOCK_OBJECT_IN_REFLOW")]
+ public bool is_in_reflow ();
+ [CCode (cname = "GDL_DOCK_OBJECT_SET_FLAGS")]
+ public bool is_set_flags (Gdl.DockObjectFlags flags);
+ [CCode (cname = "GDL_DOCK_OBJECT_UNSET_FLAGS")]
+ public bool is_unset_flags (Gdl.DockObjectFlags flags);
public static unowned string nick_from_type (GLib.Type type);
public virtual void present (Gdl.DockObject child);
public virtual void reduce ();
public virtual signal void docked (Gdl.DockObject requestor, Gdl.DockPlacement position, GLib.Value other_data);
}
[CCode (cheader_filename = "gdl/gdl.h")]
- public class DockPlaceholder : Gdl.DockObject, Gtk.Buildable, Atk.Implementor {
+ public class DockPlaceholder : Gdl.DockObject, Atk.Implementor, Gtk.Buildable {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public DockPlaceholder (string name, Gdl.DockObject object, Gdl.DockPlacement position, bool sticky);
public void attach (Gdl.DockObject object);
</flags>
<object name="GdlDock" parent="GdlDockObject" type-name="GdlDock" get-type="gdl_dock_get_type">
<implements>
- <interface name="GtkBuildable"/>
<interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
</implements>
<method name="add_floating_item" symbol="gdl_dock_add_floating_item">
<return-type type="void"/>
</object>
<object name="GdlDockBar" parent="GtkBox" type-name="GdlDockBar" get-type="gdl_dock_bar_get_type">
<implements>
- <interface name="GtkBuildable"/>
<interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
<interface name="GtkOrientable"/>
</implements>
<method name="get_orientation" symbol="gdl_dock_bar_get_orientation">
</object>
<object name="GdlDockItem" parent="GdlDockObject" type-name="GdlDockItem" get-type="gdl_dock_item_get_type">
<implements>
- <interface name="GtkBuildable"/>
<interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
</implements>
<method name="bind" symbol="gdl_dock_item_bind">
<return-type type="void"/>
<parameter name="behavior" type="GdlDockItemBehavior"/>
</parameters>
</constructor>
+ <method name="notify_selected" symbol="gdl_dock_item_notify_selected">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="item" type="GdlDockItem*"/>
+ </parameters>
+ </method>
<method name="preferred_size" symbol="gdl_dock_item_preferred_size">
<return-type type="void"/>
<parameters>
<parameter name="y" type="gint"/>
</parameters>
</signal>
+ <signal name="selected" when="FIRST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="object" type="GdlDockItem*"/>
+ </parameters>
+ </signal>
<vfunc name="set_orientation">
<return-type type="void"/>
<parameters>
</object>
<object name="GdlDockItemGrip" parent="GtkContainer" type-name="GdlDockItemGrip" get-type="gdl_dock_item_grip_get_type">
<implements>
- <interface name="GtkBuildable"/>
<interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
</implements>
<method name="hide_handle" symbol="gdl_dock_item_grip_hide_handle">
<return-type type="void"/>
</object>
<object name="GdlDockObject" parent="GtkContainer" type-name="GdlDockObject" get-type="gdl_dock_object_get_type">
<implements>
- <interface name="GtkBuildable"/>
<interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
</implements>
<method name="bind" symbol="gdl_dock_object_bind">
<return-type type="void"/>
</object>
<object name="GdlDockPlaceholder" parent="GdlDockObject" type-name="GdlDockPlaceholder" get-type="gdl_dock_placeholder_get_type">
<implements>
- <interface name="GtkBuildable"/>
<interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
</implements>
<method name="attach" symbol="gdl_dock_placeholder_attach">
<return-type type="void"/>