mx-types

mx-types — type definitions used throughout Mx

Synopsis

                    MxPadding;
enum                MxAlign;

Description

Common types for MxWidgets.

Details

MxPadding

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

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 MxAlign

typedef enum {
  MX_ALIGN_START,
  MX_ALIGN_MIDDLE,
  MX_ALIGN_END
} MxAlign;