Re: Notebook focus

On Tuesday 15 April 2003 18:07, Philippe Camus wrote:

How can I tell notebook to change the focus to the text widget of a
specific page? I'm looking for something like:

You can make an array of widgets like

my @entry;
$entry[$a] = new Gtk2::Entry();

where $a is the ID of the notebook page.
If you haven't a fix amount of notebook pages, you will need an array, which 
keeps the IDs of all the notebook pages. (The position in the array is the 
page number and its content is the id)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]