diff options
author | Matt Wilson <msw@redhat.com> | 1999-12-15 23:33:51 +0000 |
---|---|---|
committer | Matt Wilson <msw@src.gnome.org> | 1999-12-15 23:33:51 +0000 |
commit | 3b9dc53e3faa1744f0d351416e888db9ae52b558 (patch) | |
tree | eabc0911cdcf690012f8f856ebadc3fc09b661bc /pygtk.h | |
parent | 6f99ccee1be9e21368385dbff9eac485b1440531 (diff) | |
download | pygtk-3b9dc53e3faa1744f0d351416e888db9ae52b558.tar.gz |
added 'rows' attribute.
1999-12-15 Matt Wilson <msw@redhat.com>
* gtk.py (GtkCList.__getattr__): added 'rows' attribute.
* gtkmodule.c (_wrap_gtk_clist_get_rows): added wrapper to get
number of rows in a clist
* gtkmodule.c (PyGtkStyle_New): If the GtkStyle passed in is NULL,
return a None object. This is a bit of a hack, but without it
you'll fail NULL assertions when you attach to the style_set
signal.
* generate/gtkmisc.defs (gtk_pixmap_new): mask is null-ok.
* generate/gtklists.defs (gtk_clist_set_pixmap): likewise.
* pygtk.h (PyGdkBitmap_Check): define PyGdkBitmap_Check to be the
same as PyGdkWindow_Check.
* gtkmodule.c: -Wall cleanups
* libglademodule.c (init_libglade): removed unused variable
* gdkimlibmodule.c (_wrap_gdk_imlib_init): s/static/static int/
Diffstat (limited to 'pygtk.h')
-rw-r--r-- | pygtk.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -187,6 +187,7 @@ staticforward PyTypeObject PyGtkCTreeNode_Type; #define PyGdkColor_Check(v) ((v)->ob_type == &PyGdkColor_Type) #define PyGdkEvent_Check(v) ((v)->ob_type == &PyGdkEvent_Type) #define PyGdkWindow_Check(v) ((v)->ob_type == &PyGdkWindow_Type) +#define PyGdkBitmap_Check(v) ((v)->ob_type == &PyGdkWindow_Type) #define PyGdkGC_Check(v) ((v)->ob_type == &PyGdkGC_Type) #define PyGdkColormap_Check(v) ((v)->ob_type == &PyGdkColormap_Type) #define PyGdkDragContext_Check(v) ((v)->ob_type == &PyGdkDragContext_Type) |