![]() |
![]() |
![]() |
libxfce4panel Reference Manual | ![]() |
---|---|---|---|---|
GtkWidget* xfce_create_panel_button (void); GtkWidget* xfce_create_panel_toggle_button (void); gboolean xfce_allow_panel_customization (void); #define panel_slice_alloc (block_size) #define panel_slice_alloc0 (block_size) #define panel_slice_free (type, ptr) #define panel_slice_free1 (block_size, mem_block) #define panel_slice_new (type) #define panel_slice_new0 (type)
This section describes a number of functions that were created to help developers of Xfce Panel plugins.
GtkWidget* xfce_create_panel_button (void);
Create regular GtkToggleButton with a few properties set to be useful in
Xfce panel: Flat (GTK_RELIEF_NONE
), no focus on click and minimal padding.
Returns : |
newly created GtkToggleButton. |
gboolean xfce_allow_panel_customization (void);
Check if the user is allowed to customize the panel. Uses the kiosk mode implementation from libxfce4util.