diff options
author | James Henstridge <james@daa.com.au> | 1999-02-16 14:34:52 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 1999-02-16 14:34:52 +0000 |
commit | 4081bf1c2416beb61d59e7179526b06ce6cbb4b6 (patch) | |
tree | 7bb56f684afdb022c4b5b0e1066f770c3cb18145 /description.py | |
parent | 6bc454257492402efd9ae6ab42588b3a02b0a443 (diff) | |
download | pygtk-4081bf1c2416beb61d59e7179526b06ce6cbb4b6.tar.gz |
added documentation about GtkStyle changes to this pseudo module.
1999-02-16 James Henstridge <james@daa.com.au>
* description.py: added documentation about GtkStyle changes to this
pseudo module.
* gtkmodule.c: added a new python type GtkStyleHelper that is used
by python GtkStyle objects as a sequence type that alows us to write
back to the arrays in the GtkStyle object. I have also made it
possible to update the font and (black|white){,_gc}. I also added
a GtkStyle.copy() method. This gives the user everything they need
to alter styles inside their applications. I still believe that
rc files are better, but there seem to be a lot of people who want
this functionality.
* gtkmodule.c (_wrap_gtk_window_set_geometry_hints): made changes so
apect ratios can be set to integers. Also made it throw an exception
for aspect ratios of zero, since this caused my X server to crash
a few times.
1999-02-15 James Henstridge <james@daa.com.au>
* gtk.py (GtkPaned.set_position): added function.
* generate/gtkcontainers.defs (gtk_paned_set_position): added new
function
Diffstat (limited to 'description.py')
-rw-r--r-- | description.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/description.py b/description.py index 01c6a40f..8a494964 100644 --- a/description.py +++ b/description.py @@ -27,8 +27,9 @@ class GtkCTreeNode: expanded = _ class GtkStyle: - """Currently you can't assign to any of the attributes of a GtkStyle""" - """This type can't be instantiated directly""" + """You can assign to any attribute except colormap. Also, assigning""" + """to the sequence attributes is not allowed -- only assinging to""" + """sequence members.""" """COLORS""" black = _ @@ -63,6 +64,10 @@ class GtkStyle: """The colormap for this style""" colormap = _ + def copy(self): + """take a copy of this style""" + pass + class GtkSelectionData: """This type represents the selection. Do not keep a reference""" """to it past the life of a callback""" |