GtkMisc

GtkMisc

Synopsis

#include <gtk/gtk.h>

                    GtkMisc;
void                gtk_misc_set_alignment              (GtkMisc *misc,
                                                         gfloat xalign,
                                                         gfloat yalign);
void                gtk_misc_set_padding                (GtkMisc *misc,
                                                         gint xpad,
                                                         gint ypad);
void                gtk_misc_get_alignment              (GtkMisc *misc,
                                                         gfloat *xalign,
                                                         gfloat *yalign);
void                gtk_misc_get_padding                (GtkMisc *misc,
                                                         gint *xpad,
                                                         gint *ypad);

Description

Details

GtkMisc

typedef struct {
  GtkWidget widget;
} GtkMisc;


gtk_misc_set_alignment ()

void                gtk_misc_set_alignment              (GtkMisc *misc,
                                                         gfloat xalign,
                                                         gfloat yalign);

misc :

xalign :

yalign :


gtk_misc_set_padding ()

void                gtk_misc_set_padding                (GtkMisc *misc,
                                                         gint xpad,
                                                         gint ypad);

misc :

xpad :

ypad :


gtk_misc_get_alignment ()

void                gtk_misc_get_alignment              (GtkMisc *misc,
                                                         gfloat *xalign,
                                                         gfloat *yalign);

Gets the X and Y alignment of the widget within its allocation. See gtk_misc_set_alignment().

misc :

a GtkMisc

xalign :

location to store X alignment of misc, or NULL. [out][allow-none]

yalign :

location to store Y alignment of misc, or NULL. [out][allow-none]

gtk_misc_get_padding ()

void                gtk_misc_get_padding                (GtkMisc *misc,
                                                         gint *xpad,
                                                         gint *ypad);

Gets the padding in the X and Y directions of the widget. See gtk_misc_set_padding().

misc :

a GtkMisc

xpad :

location to store padding in the X direction, or NULL. [out][allow-none]

ypad :

location to store padding in the Y direction, or NULL. [out][allow-none]