Button API.
More...
#include <glib.h>
#include <glib-object.h>
#include "gnt.h"
#include "gntwidget.h"
Go to the source code of this file.
|
#define | GNT_TYPE_BUTTON (gnt_button_get_gtype()) |
|
#define | GNT_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_BUTTON, GntButton)) |
|
#define | GNT_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_BUTTON, GntButtonClass)) |
|
#define | GNT_IS_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_BUTTON)) |
|
#define | GNT_IS_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_BUTTON)) |
|
#define | GNT_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_BUTTON, GntButtonClass)) |
|
Button API.
Definition in file gntbutton.h.
G_BEGIN_DECLS GType gnt_button_get_gtype |
( |
void |
| ) |
|
- Returns
- GType for Gntbutton
GntWidget* gnt_button_new |
( |
const char * |
text | ) |
|
Create a new button.
- Parameters
-
text | The text for the button. |
- Returns
- The newly created button.