index
gtk-- homepage



Description:
Gtk_Misc

#include <gtk--/misc.h>
Base classes: Gtk_Widget
Derived by: Gtk_Arrow Gtk_Image Gtk_Label Gtk_Pixmap

Misc Widget Abstract.
This is an abstract for a set of utility widgets that lack a physical window. They do have alignment and padding within their defined space.

Without a window, widgets of this type cannot capture events. To capture events place in Gtk_EventBox.



Properties:

NameTypeGetSetDescription
xalign gfloat   set_alignment() Specify how to position the child widget when it is not allocated all the space available to it. A value of 0.0 positions the widget to the left or top of its allocated space. A value of 1.0 positions the widget to the right or bottom of its allocated space. Specifying 0.5 will center the widget in its allocated space.

Range: 0.0 to 1.0

yalign gfloat   set_alignment() see xalign
xpad guint16   set_padding() Padding is space placed to either side of a widget to seperate it from its neighbors.
ypad guint16   set_padding() see xpad


Public member index:


Gtk_Misc(GtkMisc *castitem);
void set_alignment(gfloat xalign,gfloat yalign);
Set the xalign and yalign of this widget.

void set_padding(gint xpad,gint ypad);
Set the xpad and ypad of this widget.

GtkMisc *gtkobj();
const GtkMisc *gtkobj()const;
static bool isGtkMisc(Gtk_Object *checkcast);
Protected member index:


virtual void *get_parent_class();
Gtk_Misc();
Private member index:


GtkType get_type();

Public member details:


Protected member details:


Private member details:



Examples:





(pages generated by PERCEPS -script.)