33 virtual void pack(GtkWidget *obj){
34 gtk_container_add(GTK_CONTAINER(
widget),obj);
42 gtk_container_set_border_width(GTK_CONTAINER(
widget), size);
49 return gtk_container_get_border_width(GTK_CONTAINER(
widget));
99 for (
int i=1;i<=ll.getCount();i++,ll.next())
100 operator<<(ll.current());
110 gtk_container_remove(GTK_CONTAINER(
widget), w);
139 for (
int i=1; i<=ll.
getCount(); i++)
152 GList *widgetList=g_list_first(gtk_container_get_children(GTK_CONTAINER(
widget)));
154 for (
int i=0; i<=(int)g_list_length(widgetList); i++) {
155 widget=
static_cast<GtkWidget*
>(g_list_nth_data(widgetList,i));
156 gtk_widget_set_sensitive(widget,sens);
165 GList *widgetList=g_list_first(gtk_container_get_children(GTK_CONTAINER(
widget)));
167 for (
int i=0; i<=(int)g_list_length(widgetList); i++) {
168 widget=
static_cast<GtkWidget*
>(g_list_nth_data(widgetList,i));
169 if (gtk_widget_get_sensitive(widget))
179 return g_list_length(gtk_container_get_children(GTK_CONTAINER(
widget)));
182 #endif // CONTAINER_H_
Container & operator>>(GtkWidget *w)
void setChildrensSensitivity(bool sens)
void setBorder(unsigned int size)
TYPE next(void)
Return a pointer to the next lug and move on to that lug Increments according to dir (either forward ...
bool areAnyChildrensSensitive(void)
Container & operator<<(Container &c)
virtual void pack(GtkWidget *obj)
unsigned int getBorder(void)