nbtk-types

nbtk-types — type definitions used throughout Nbtk

Synopsis

                    NbtkPadding;
enum                NbtkAlign;

Description

Common types for NbtkWidgets.

Details

NbtkPadding

typedef struct {
  gfloat top;
  gfloat right;
  gfloat bottom;
  gfloat left;
} NbtkPadding;

The padding from the internal border of the parent container.

gfloat top;

padding from the top

gfloat right;

padding from the right

gfloat bottom;

padding from the bottom

gfloat left;

padding from the left

enum NbtkAlign

typedef enum {
  NBTK_ALIGN_START,
  NBTK_ALIGN_MIDDLE,
  NBTK_ALIGN_END
} NbtkAlign;