2005-04-03 12:13:08 -04:00
|
|
|
#ifndef _HAVE_CLTR_WIDGET_H
|
|
|
|
#define _HAVE_CLTR_WIDGET_H
|
|
|
|
|
|
|
|
typedef struct CltrWidget CltrWidget;
|
|
|
|
|
|
|
|
#include "cltr.h"
|
|
|
|
|
|
|
|
#define CLTR_WIDGET(w) ((CltrWidget*)(w))
|
|
|
|
|
|
|
|
CltrWidget*
|
|
|
|
cltr_widget_new(void);
|
|
|
|
|
2005-04-13 13:36:17 -04:00
|
|
|
int
|
|
|
|
cltr_widget_width(CltrWidget *widget);
|
|
|
|
|
|
|
|
int
|
|
|
|
cltr_widget_height(CltrWidget *widget);
|
|
|
|
|
2005-04-03 12:13:08 -04:00
|
|
|
void
|
|
|
|
cltr_widget_show(CltrWidget *widget);
|
|
|
|
|
|
|
|
void
|
|
|
|
cltr_widget_paint(CltrWidget *widget);
|
|
|
|
|
|
|
|
gboolean
|
|
|
|
cltr_widget_handle_xevent(CltrWidget *widget, XEvent *xev);
|
|
|
|
|
|
|
|
void
|
|
|
|
cltr_widget_show_all(CltrWidget *widget);
|
|
|
|
|
|
|
|
void
|
|
|
|
cltr_widget_queue_paint(CltrWidget *widget);
|
|
|
|
|
|
|
|
void
|
|
|
|
cltr_widget_add_child(CltrWidget *widget, CltrWidget *child, int x, int y);
|
|
|
|
|
|
|
|
#endif
|