add getter.
2000-03-23 Jonathan Blandford <jrb@redhat.com> * gtk/gtkpaned.c (gtk_paned_get_position): add getter.
This commit is contained in:
parent
d71b916716
commit
07b1e46225
@ -1,3 +1,7 @@
|
|||||||
|
2000-03-23 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkpaned.c (gtk_paned_get_position): add getter.
|
||||||
|
|
||||||
2000-03-17 Tor Lillqvist <tml@iki.fi>
|
2000-03-17 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkevents-win32.c: Remove the #ifndef
|
* gdk/win32/gdkevents-win32.c: Remove the #ifndef
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2000-03-23 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkpaned.c (gtk_paned_get_position): add getter.
|
||||||
|
|
||||||
2000-03-17 Tor Lillqvist <tml@iki.fi>
|
2000-03-17 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkevents-win32.c: Remove the #ifndef
|
* gdk/win32/gdkevents-win32.c: Remove the #ifndef
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2000-03-23 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkpaned.c (gtk_paned_get_position): add getter.
|
||||||
|
|
||||||
2000-03-17 Tor Lillqvist <tml@iki.fi>
|
2000-03-17 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkevents-win32.c: Remove the #ifndef
|
* gdk/win32/gdkevents-win32.c: Remove the #ifndef
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2000-03-23 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkpaned.c (gtk_paned_get_position): add getter.
|
||||||
|
|
||||||
2000-03-17 Tor Lillqvist <tml@iki.fi>
|
2000-03-17 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkevents-win32.c: Remove the #ifndef
|
* gdk/win32/gdkevents-win32.c: Remove the #ifndef
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2000-03-23 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkpaned.c (gtk_paned_get_position): add getter.
|
||||||
|
|
||||||
2000-03-17 Tor Lillqvist <tml@iki.fi>
|
2000-03-17 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkevents-win32.c: Remove the #ifndef
|
* gdk/win32/gdkevents-win32.c: Remove the #ifndef
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2000-03-23 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkpaned.c (gtk_paned_get_position): add getter.
|
||||||
|
|
||||||
2000-03-17 Tor Lillqvist <tml@iki.fi>
|
2000-03-17 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkevents-win32.c: Remove the #ifndef
|
* gdk/win32/gdkevents-win32.c: Remove the #ifndef
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2000-03-23 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkpaned.c (gtk_paned_get_position): add getter.
|
||||||
|
|
||||||
2000-03-17 Tor Lillqvist <tml@iki.fi>
|
2000-03-17 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkevents-win32.c: Remove the #ifndef
|
* gdk/win32/gdkevents-win32.c: Remove the #ifndef
|
||||||
|
@ -484,6 +484,15 @@ gtk_paned_forall (GtkContainer *container,
|
|||||||
(*callback) (paned->child2, callback_data);
|
(*callback) (paned->child2, callback_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gint
|
||||||
|
gtk_paned_get_position (GtkPaned *paned)
|
||||||
|
{
|
||||||
|
g_return_if_fail (paned != NULL);
|
||||||
|
g_return_if_fail (GTK_IS_PANED (paned));
|
||||||
|
|
||||||
|
return paned->child1_size;
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gtk_paned_set_position (GtkPaned *paned,
|
gtk_paned_set_position (GtkPaned *paned,
|
||||||
gint position)
|
gint position)
|
||||||
|
@ -99,6 +99,7 @@ void gtk_paned_pack2 (GtkPaned *paned,
|
|||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
gboolean resize,
|
gboolean resize,
|
||||||
gboolean shrink);
|
gboolean shrink);
|
||||||
|
gint gtk_paned_get_position (GtkPaned *paned);
|
||||||
void gtk_paned_set_position (GtkPaned *paned,
|
void gtk_paned_set_position (GtkPaned *paned,
|
||||||
gint position);
|
gint position);
|
||||||
void gtk_paned_set_handle_size (GtkPaned *paned,
|
void gtk_paned_set_handle_size (GtkPaned *paned,
|
||||||
|
Loading…
Reference in New Issue
Block a user