| Libxfce4panel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <libxfce4panel/libxfce4panel.h> GtkWidget * xfce_panel_create_button (void); GtkWidget * xfce_panel_create_toggle_button (void); #define xfce_allow_panel_customization #define xfce_create_panel_button #define xfce_create_panel_toggle_button
This section describes a number of functions that were created to help developers of Xfce Panel plugins.
GtkWidget * xfce_panel_create_button (void);
Create regular GtkButton with a few properties set to be useful in the
Xfce panel: Flat (GTK_RELIEF_NONE), no focus on click and minimal padding.
Returns : |
newly created GtkButton. |
GtkWidget * xfce_panel_create_toggle_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. |
#define xfce_allow_panel_customization (FALSE)
xfce_allow_panel_customization has been deprecated since version 4.8 and should not be used in newly-written code. Look at xfce_panel_plugin_get_locked().
Always returns FALSE. Plugins can be locked on a plugin basis
level in the future, so this function is useless.
#define xfce_create_panel_button xfce_panel_create_button
xfce_create_panel_button has been deprecated since version 4.8 and should not be used in newly-written code. Use xfce_panel_create_button() instead.
See xfce_panel_create_button() for more information.
#define xfce_create_panel_toggle_button xfce_panel_create_toggle_button
xfce_create_panel_toggle_button has been deprecated since version 4.8 and should not be used in newly-written code. Use xfce_panel_create_toggle_button() instead.
See xfce_panel_create_toggle_button() for more information.