eb05362005-11-05Henrik Grubbström (Grubba) /* -*- C -*- */
1a05542005-07-28Martin Nilsson class GTK2.Vpaned; inherit GTK2.Paned; //! The paned window widgets are useful when you want to divide an area //! into two parts, with the relative size of the two parts controlled //! by the user. A groove is drawn between the two portions with a //! handle that the user can drag to change the ratio. This widgets //! makes a vertical division //! //! IMG: GTK2.Vpaned()->add1(GTK2.Label("Top Side Of Pane"))->add2(GTK2.Label("Bottom"))->set_size_request(100,100)
3d76632005-11-03Lance Dillon void create(?mapping(string:mixed) props)
1a05542005-07-28Martin Nilsson //! Create a new W(Vpaned) widget.
3d76632005-11-03Lance Dillon {
ba9e802006-02-27Martin Stjernholm  pgtk2_verify_not_inited(); pgtk2_verify_setup();
3d76632005-11-03Lance Dillon  if (args) { INIT_WITH_PROPS(GTK_TYPE_VPANED);
ba9e802006-02-27Martin Stjernholm  pgtk2_pop_n_elems(args);
3d76632005-11-03Lance Dillon  } else { GtkWidget *gv; gv=gtk_vpaned_new(); THIS->obj=G_OBJECT(gv); }
ba9e802006-02-27Martin Stjernholm  pgtk2__init_this_object();
3d76632005-11-03Lance Dillon }