27 gtk_widget_set_sensitive(GTK_WIDGET(g), (value==0)?FALSE:TRUE);
31 gtk_widget_grab_focus(GTK_WIDGET(g));
37 gtk_window_get_size(GTK_WINDOW(g), &width, &height);
38 gtk_window_resize(GTK_WINDOW(g), value, height);
45 gtk_window_get_size(GTK_WINDOW(g), &width, &height);
46 gtk_window_resize(GTK_WINDOW(g), width, value);
55 "Function is not appropriate for this type of widget (%s)",
75 return (gtk_widget_get_sensitive(GTK_WIDGET(g))==TRUE)?1:0;
78 return (gtk_widget_has_focus(GTK_WIDGET(g))==TRUE)?1:0;
84 gtk_window_get_size(GTK_WINDOW(g), &width, &height);
91 gtk_window_get_size(GTK_WINDOW(g), &width, &height);
100 "Function is not appropriate for this type of widget (%s)",
120 gtk_window_set_title(GTK_WINDOW(g), value);
127 "Function is not appropriate for this type of widget (%s)",
138 const char *defaultValue) {
146 return gtk_window_get_title(GTK_WINDOW(g));
152 "Function is not appropriate for this type of widget (%s)",
170 gtk_container_add(GTK_CONTAINER(g), gChild);
185 g=gtk_window_new(GTK_WINDOW_TOPLEVEL);
186 gtk_window_set_modal(GTK_WINDOW(g), TRUE);
188 gtk_window_set_title(GTK_WINDOW(g), s);