moo_big_paned_get_paned()

This commit is contained in:
Yevgen Muntyan 2007-04-10 08:41:02 -05:00
parent 30fd7ff836
commit 25fd73a0ea
3 changed files with 22 additions and 0 deletions

View File

@ -1698,6 +1698,15 @@
(return-type "GtkWidget*")
)
(define-method get_paned
(of-object "MooBigPaned")
(c-name "moo_big_paned_get_paned")
(return-type "MooPaned*")
(parameters
'("MooPanePosition" "position")
)
)
(define-method insert_pane
(of-object "MooBigPaned")
(c-name "moo_big_paned_insert_pane")

View File

@ -565,6 +565,16 @@ moo_big_paned_get_button (MooBigPaned *paned,
}
MooPaned *
moo_big_paned_get_paned (MooBigPaned *paned,
MooPanePosition position)
{
g_return_val_if_fail (MOO_IS_BIG_PANED (paned), NULL);
g_return_val_if_fail (position < 4, NULL);
return MOO_PANED (paned->paned[position]);
}
gboolean
moo_big_paned_find_pane (MooBigPaned *paned,
GtkWidget *widget,

View File

@ -102,6 +102,9 @@ GtkWidget *moo_big_paned_get_pane (MooBigPaned *paned,
GtkWidget *moo_big_paned_get_button (MooBigPaned *paned,
GtkWidget *pane_widget);
MooPaned *moo_big_paned_get_paned (MooBigPaned *paned,
MooPanePosition position);
void moo_big_paned_open_pane (MooBigPaned *paned,
GtkWidget *pane_widget);
void moo_big_paned_hide_pane (MooBigPaned *paned,