![]() |
![]() |
![]() |
Libxfce4panel Reference Manual | ![]() |
---|---|---|---|---|
#include <libxfce4panel/libxfce4panel.h> #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) #define PANEL_PARAM_READABLE #define PANEL_PARAM_READWRITE #define PANEL_PARAM_WRITABLE #define I_ (string)
Macros for plugin writers to use new features in Glib 2.8 and 2.10 without breaking old versions of Glib. It is recommended to use those macros when possible.
#define panel_slice_alloc(block_size)
Use g_slice_alloc when available, fallback to g_malloc.
|
the number of bytes to allocate |
#define panel_slice_alloc0(block_size)
Use g_slice_alloc0 when available, fallback to g_malloc0.
|
the number of bytes to allocate |
#define panel_slice_free(type, ptr)
Use g_slice_free when available, fallback to g_free.
|
the type to allocate, typically a structure name |
|
a pointer to the block to free |
#define panel_slice_free1(block_size, mem_block)
Use g_slice_free1 when available, fallback to g_free.
|
the number of bytes to allocate |
|
a pointer to the block to free |
#define panel_slice_new(type)
Use g_slice_new when available, fallback to g_new.
|
the type to allocate, typically a structure name |
#define panel_slice_new0(type)
Use g_slice_new0 when available, fallback to g_new0.
|
the type to allocate, typically a structure name |
#define PANEL_PARAM_READABLE
Alias for G_PARAM_READABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB
#define PANEL_PARAM_READWRITE
Alias for G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB
#define PANEL_PARAM_WRITABLE
Alias for G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB