Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | xed_panel_new () |
void | xed_panel_add_item () |
gboolean | xed_panel_remove_item () |
gboolean | xed_panel_activate_item () |
gboolean | xed_panel_item_is_active () |
GtkOrientation | xed_panel_get_orientation () |
gint | xed_panel_get_n_items () |
void | close | Action |
void | focus-document | Action |
void | item-added | Run First |
void | item-removed | Run First |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── XedPanel
GtkWidget *
xed_panel_new (GtkOrientation orientation
);
Creates a new XedPanel with the given orientation
. You shouldn't create
a new panel use xed_window_get_side_panel()
or xed_window_get_bottom_panel()
instead.
void xed_panel_add_item (XedPanel *panel
,GtkWidget *item
,const gchar *name
,const gchar *icon_name
);
Adds a new item to the panel
.
gboolean xed_panel_remove_item (XedPanel *panel
,GtkWidget *item
);
Removes the widget item
from the panel if it is in the panel
and returns
TRUE
if there was not any problem.
gboolean xed_panel_activate_item (XedPanel *panel
,GtkWidget *item
);
Switches to the page that contains item
.
gboolean xed_panel_item_is_active (XedPanel *panel
,GtkWidget *item
);
Returns whether item
is the active widget in panel
GtkOrientation
xed_panel_get_orientation (XedPanel *panel
);
Gets the orientation of the panel
.
“orientation”
property“orientation” GtkOrientation
The panel's orientation.
Owner: XedPanel
Flags: Read / Write / Construct Only
Default value: GTK_ORIENTATION_VERTICAL