widget.h File Reference

#include <list>
#include <gtk/gtkwidget.h>
#include "generic/callback.h"
#include "debugging/debugging.h"
Include dependency graph for widget.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ToggleItem
class  ToggleShown

Defines

#define INCLUDED_GTKUTIL_WIDGET_H

Typedefs

typedef ReferenceCaller
< GtkWidget, widget_queue_draw > 
WidgetQueueDrawCaller

Functions

void widget_set_size (GtkWidget *widget, int width, int height)
void widget_set_visible (GtkWidget *widget, bool shown)
bool widget_is_visible (GtkWidget *widget)
void widget_toggle_visible (GtkWidget *widget)
void widget_queue_draw (GtkWidget &widget)
void widget_make_default (GtkWidget *widget)

Define Documentation

#define INCLUDED_GTKUTIL_WIDGET_H

Definition at line 23 of file widget.h.


Typedef Documentation

typedef ReferenceCaller<GtkWidget, widget_queue_draw> WidgetQueueDrawCaller

Definition at line 156 of file widget.h.


Function Documentation

bool widget_is_visible ( GtkWidget widget  )  [inline]

Definition at line 50 of file widget.h.

Referenced by widget_toggle_visible().

void widget_make_default ( GtkWidget widget  )  [inline]

Definition at line 158 of file widget.h.

void widget_queue_draw ( GtkWidget widget  )  [inline]

Definition at line 152 of file widget.h.

void widget_set_size ( GtkWidget widget,
int  width,
int  height 
) [inline]
void widget_set_visible ( GtkWidget widget,
bool  shown 
) [inline]

Definition at line 41 of file widget.h.

Referenced by ToggleShown::connect(), ToggleShown::set(), and widget_toggle_visible().

void widget_toggle_visible ( GtkWidget widget  )  [inline]

Definition at line 55 of file widget.h.

References widget_is_visible(), and widget_set_visible().

Referenced by ToggleShown::toggle().


Generated by  doxygen 1.6.2