Gtk-- Reference: Gtk::Misc

Class Index | Cross Index | Namespace Index

# Class Gtk::Misc

Misc Widget Abstract.
Contained in: Gtk
Derived from: Gtk::Widget
Derived by: Gtk::Arrow Gtk::Image Gtk::Label Gtk::Pixmap

#include <gtk--/misc.h>

### public function member index:
``gfloat`` | `get_xalign` | `() `const``;
``gint`` | `get_xpad` | `() `const``;
``gfloat`` | `get_yalign` | `() `const``;
``gint`` | `get_ypad` | `() `const``;
``GtkMisc`*` | `gtkobj` | `()`;
``const` `GtkMisc`*` | `gtkobj` | `() `const``;
``static` `bool`` | `isA` | `(`Object`* `object`)`;
``void`` | `set_alignment` | `(`gfloat` `xalign`, `gfloat` `yalign`)`;
``void`` | `set_padding` | `(`gint` `xpad`, `gint` `ypad`)`;
``virtual`` | `~Misc` | `()`;
### protected function member index:
`` | `Misc` | `()`;

## Description:

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``.

## Function Member Descriptions:

Gtk::Misc::gtkobj - Returns the underlaying gtk+ object.

``GtkMisc`*` `gtkobj``()`;
Gtk::Misc::isA - Returns true if object is this type.

``static` `bool`` `isA``(`Object`* `object`)`;
Gtk::Misc::set_alignment - Set the ``xalign`` and ``yalign`` of this widget.

``void`` `set_alignment``(`gfloat` `xalign`, `gfloat` `yalign`)`;
Gtk::Misc::set_padding - Set the ``xpad`` and ``ypad`` of this widget.

``void`` `set_padding``(`gint` `xpad`, `gint` `ypad`)`;