Spacing

Spacing — Application GUI spacings

Synopsis




#define     SCALING_SIZE
extern      guint GPE_GNOME_SCALING;
void        init_spacing                    (void);
guint       gpe_get_catspacing              (void);
gchar*      gpe_get_catindent               (void);
guint       gpe_get_border                  (void);
guint       gpe_get_boxspacing              (void);

Description

For creating graphical user interfaces with an unified look and feel it is important to have a set of functions to provide spacing information. The GPE spacing functions provide a basic set of functions for determining the most frquently used sizes for GUI development.

Details

SCALING_SIZE

#define     SCALING_SIZE


GPE_GNOME_SCALING

extern guint GPE_GNOME_SCALING;


init_spacing ()

void        init_spacing                    (void);


gpe_get_catspacing ()

guint       gpe_get_catspacing              (void);

Returns spacing between categories.

Returns :Size in pixels.

gpe_get_catindent ()

gchar*      gpe_get_catindent               (void);

Returns size for identing of GUI categories.

Returns :Size in pixels.

gpe_get_border ()

guint       gpe_get_border                  (void);

Get the size of borders around widgets. This is used for borders around windows and dialogs mostly.

Returns :Border size in pixels.

gpe_get_boxspacing ()

guint       gpe_get_boxspacing              (void);

Returns spacings used to separate contents of boxes and tables.

Returns :Spacing in pixels.