~mdw
/
clg
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bindings to lots of widgets updated and completed
[clg]
/
gtk
/
alien
/
glue.c
diff --git
a/gtk/alien/glue.c
b/gtk/alien/glue.c
index
a139c61
..
228ec3f
100644
(file)
--- a/
gtk/alien/glue.c
+++ b/
gtk/alien/glue.c
@@
-16,7
+16,7
@@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: glue.c,v 1.
3 2004-12-20 00:45:24
espen Exp $ */
+/* $Id: glue.c,v 1.
6 2004-12-29 21:17:37
espen Exp $ */
#include <gtk/gtk.h>
#include <gtk/gtk.h>
@@
-73,6
+73,12
@@
gtk_container_get_focus_child (GtkContainer *container)
return container->focus_child;
}
return container->focus_child;
}
+gboolean
+gtk_container_get_reallocate_redraws (GtkContainer *container)
+{
+ return container->reallocate_redraws;
+}
+
/* Dialog */
/* Dialog */
@@
-98,29
+104,24
@@
gtk_window_get_default (GtkWindow *window)
return window->default_widget;
}
return window->default_widget;
}
-
-/* Paned */
-
-GtkWidget*
-gtk_paned_child1 (GtkPaned *paned, guint *resize, guint *shrink)
+GtkWindowGroup*
+gtk_window_get_group (GtkWindow *window)
{
{
- *resize = paned->child1_resize;
- *shrink = paned->child1_shrink;
-
- return paned->child1;
+ return window->group;
}
}
-GtkWidget*
-gtk_paned_child2 (GtkPaned *paned, guint *resize, guint *shrink)
+
+/* Window */
+
+GdkScreen*
+gtk_menu_get_screen (GtkMenu *menu)
{
{
- *resize = paned->child2_resize;
- *shrink = paned->child2_shrink;
-
- return paned->child2;
+ return (GdkScreen*)g_object_get_data (G_OBJECT (menu), "gtk-menu-explicit-screen");
}
}
+
/* Layout */
GdkWindow*
/* Layout */
GdkWindow*
@@
-130,19
+131,6
@@
gtk_layout_get_bin_window (GtkLayout *layout)
}
}
-/* Drawing area */
-
-void
-gtk_drawing_area_get_size (GtkDrawingArea *darea, gint *width, gint *height)
-{
- GtkWidget *widget;
-
- widget = GTK_WIDGET (darea);
- *width = widget->allocation.width;
- *height = widget->allocation.height;
-}
-
-
/* GtkStyle accessor functions */
typedef enum {
/* GtkStyle accessor functions */
typedef enum {