| Top |  |  |  |  | 
| GtkWidget * | pluma_panel_new () | 
| void | pluma_panel_add_item () | 
| void | pluma_panel_add_item_with_icon () | 
| gboolean | pluma_panel_remove_item () | 
| gboolean | pluma_panel_activate_item () | 
| gboolean | pluma_panel_item_is_active () | 
| GtkOrientation | pluma_panel_get_orientation () | 
| gint | pluma_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
                ╰── GtkBox
                    ╰── PlumaPanel
GtkWidget *
pluma_panel_new (GtkOrientation orientation);
Creates a new PlumaPanel with the given orientation
. You shouldn't create
a new panel use pluma_window_get_side_panel() or pluma_window_get_bottom_panel()
instead.
void pluma_panel_add_item (PlumaPanel *panel,GtkWidget *item,const gchar *name,GtkWidget *image);
Adds a new item to the panel
.
void pluma_panel_add_item_with_icon (PlumaPanel *panel,GtkWidget *item,const gchar *name,const gchar *icon_name);
Same as pluma_panel_add_item() but using an image from icon name.
gboolean pluma_panel_remove_item (PlumaPanel *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 pluma_panel_activate_item (PlumaPanel *panel,GtkWidget *item);
Switches to the page that contains item
.
gboolean pluma_panel_item_is_active (PlumaPanel *panel,GtkWidget *item);
Returns whether item
 is the active widget in panel
GtkOrientation
pluma_panel_get_orientation (PlumaPanel *panel);
Gets the orientation of the panel
.
gint
pluma_panel_get_n_items (PlumaPanel *panel);
Gets the number of items in a panel
.
“focus-document” signalvoid user_function (PlumaPanel *plumapanel, gpointer user_data)
Flags: Action
“item-added” signalvoid user_function (PlumaPanel *plumapanel, GtkWidget *widget, gpointer user_data)
Flags: Run First
“item-removed” signalvoid user_function (PlumaPanel *plumapanel, GtkWidget *widget, gpointer user_data)
Flags: Run First