RE: [PHP-GTK] button on GtkNotebook
| From: | epplestun | Date: | Tue, 29 Apr 2003 10:38:33 +0000 |
| Subject: | RE: [PHP-GTK] button on GtkNotebook | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3314@lists.php.net to get a copy of this message | ||
You want to know what widget is into notebook?¿ if is this, you can do this:
$tabla =
$this->gui['Gtk_Panel']->get_nth_page($this->gui['Gtk_Panel']->get_current_p
age());
Gtk_Panel is the gtknotebook, $tabla is the widget into the current page of
the notebook.
I hope that he is that.
Then you can use the functions of this widget normaly.
Regards.
----- Original Message -----
From: "Christian Weiske" <cweiske@cweiske.de>
To: "'epplestun'" <epplestun@alaplaya.com>
Sent: Tuesday, April 29, 2003 10:57 AM
Subject: RE: [PHP-GTK] button on GtkNotebook
> Hi
>
> > I don´t understand what do you want with packed buttons (or
> > tabs) in notebook :-( (what is packed?¿? in spanish is
> > embalar (put)). If you say what doy you want to do with
> > practical example ... best :)
>
> Ok, lets see:
> You know what I mean with the tabs (they are the buttons on top of the
> notebook whith wich you can select the single pages of the notebook)?
> E.g., the Appwizard has 4 tabs: "Basics", "Application settings",
> "Dialogs" and "Finish".
>
> Packed means on the other side, that every button (which is just the
> thing you click on) has a label packed on it, which displays the text.
> This is internal done by the GTK.
>
> Now I just wanted to know how the tabs are packed on the notebook
> -> Button: GtkButton->GtkLabel
> -> Notebook: GtkNotebook->GtkTab(???)->GtkButton->GtkLabel
> or the clist:
> -> GtkCList->GtkHeader(?)->GtkButton->GtkLabel
>
>
>
> Regards/MfG,
>
> Christian Weiske
>
> <<<<<<<<<<<<<<>>>>>>>>>>>>>>>>
> Christian Weiske
> cweiske@cweiske.de
> www.cweiske.de
>
> <<<<<<<<<<<<<<>>>>>>>>>>>>>>>>
> Always forgetting birthdays? Try birthday reminder!
> http://www.cweiske.de/birthday.htm
> Free & fast ecards: http://ecards.cweiske.de
>