diff options
author | Havoc Pennington <hp@redhat.com> | 2001-02-03 01:09:41 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-02-03 01:09:41 +0000 |
commit | 2c5d938ff81480846539d9659dd92ca90cfb9e40 (patch) | |
tree | 023e97fe3fa238c3a2104859ac082b5f52505a43 /gtk/gtkpaned.c | |
parent | cc00e1c5ee5c8bb971d00b7bca465f257b989424 (diff) | |
download | gtk+-2c5d938ff81480846539d9659dd92ca90cfb9e40.tar.gz |
CVS is doing its broken pipe thing, this is more of the previous commit
2001-02-02 Havoc Pennington <hp@redhat.com>
Diffstat (limited to 'gtk/gtkpaned.c')
-rw-r--r-- | gtk/gtkpaned.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c index 483084702b..dba1ebf584 100644 --- a/gtk/gtkpaned.c +++ b/gtk/gtkpaned.c @@ -480,6 +480,14 @@ gtk_paned_forall (GtkContainer *container, (*callback) (paned->child2, callback_data); } +/** + * gtk_paned_get_position: + * @paned: a #GtkPaned widget + * + * Obtains the position of the divider between the two panes. + * + * Return value: position of the divider + **/ gint gtk_paned_get_position (GtkPaned *paned) { @@ -489,6 +497,13 @@ gtk_paned_get_position (GtkPaned *paned) return paned->child1_size; } +/** + * gtk_paned_set_position: + * @paned: a #GtkPaned widget + * @position: pixel position of divider + * + * Sets the position of the divider between the two panes. + **/ void gtk_paned_set_position (GtkPaned *paned, gint position) |