diff options
author | James Henstridge <james@daa.com.au> | 1999-04-20 05:13:37 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 1999-04-20 05:13:37 +0000 |
commit | 938c63e50917fa48da6d3613aa1404d69eac9407 (patch) | |
tree | 71df2f2de2ca8bfaa27e9df52b0312e56aa6d98d /generate | |
parent | 5aec60a421e9f350dc07d2915d741ed9131e46a5 (diff) | |
download | pygtk-938c63e50917fa48da6d3613aa1404d69eac9407.tar.gz |
updated package version number.
1999-04-20 James Henstridge <james@daa.com.au>
* pygtk.spec: updated package version number.
* configure.in: added a check for the python thread module. If it
is found, then also link _gtkmodule to the gthread library.
Incremented minimum GTK version to 1.2.1.
Incremented version to 0.5.13.
* gtkmodule.c: call g_thread_init if python was built with thread
support. This is required to turn thread support on inside gdk/gtk.
* gtk.py: added new functions.
(GtkList.insert_items): this function wasn't looking at the internal
GtkObject for the children to insert, so would fail.
* generate/gtkbase.defs (gtk_widget_accelerators_locked): new func.
* generate/gtkmenus.defs (gtk_item_factory_add_foreign): new func.
(gtk_menu_get_accel_group): new func.
(gtk_menu_reorder_child): new func.
(gtk_menu_shell_deselect): new func.
* gtkmodule.c (_wrap_gtk_combo_set_popdown_strings): accept any
sequence for the second argument, rather than just lists.
(_wrap_gtk_init): check the return value, and throw an exception
when a connection to the X server could not be made, rather than
exiting.
* gtk.py: got rid of some warnings when pygtk is imported when
DISPLAY is not set. Not completely necessary, but it doesn't hurt.
(GtkObject.remove_data) fixed small bug pointed out by Duncan Grisby.
Diffstat (limited to 'generate')
-rw-r--r-- | generate/gtkbase.defs | 4 | ||||
-rw-r--r-- | generate/gtkmenus.defs | 21 |
2 files changed, 25 insertions, 0 deletions
diff --git a/generate/gtkbase.defs b/generate/gtkbase.defs index a92e594a..9696adc9 100644 --- a/generate/gtkbase.defs +++ b/generate/gtkbase.defs @@ -203,6 +203,10 @@ none ((GtkWidget widget))) +(define-func gtk_widget_accelerators_locked + bool + ((GtkWidget widget))) + (define-func gtk_widget_event bool ((GtkWidget widget) diff --git a/generate/gtkmenus.defs b/generate/gtkmenus.defs index f9c33026..0f805000 100644 --- a/generate/gtkmenus.defs +++ b/generate/gtkmenus.defs @@ -28,6 +28,10 @@ ((GtkMenuShell menu_shell) (GtkWidget menu_item))) +(define-func gtk_menu_shell_deselect + none + ((GtkMenuShell menu_shell))) + (define-func gtk_menu_shell_activate_item none ((GtkMenuShell menu_shell) @@ -110,6 +114,10 @@ ((GtkMenu menu) (GtkAccelGroup group))) +(define-func gtk_menu_get_accel_group + GtkAccelGroup + ((GtkMenu menu))) + ;; gtk_menu_attach_to_widget (define-func gtk_menu_get_attach_widget @@ -130,6 +138,12 @@ ((GtkMenu menu) (string title))) +(define-func gtk_menu_reorder_child + none + ((GtkMenu menu) + (GtkWidget child) + (int position))) + ;; MenuItem (define-object GtkMenuItem (GtkItem)) @@ -268,6 +282,13 @@ none ((string rc_string))) +(define-func gtk_item_factory_add_foreign + none + ((GtkWidget accel_widget) + (string full_path) + (uint keyval) + (GtkModifierType modifiers))) + (define-func gtk_item_factory_from_widget GtkItemFactory ((GtkWidget widget))) |