Re: i want to add different visibility to controls on notebook page

Hi David

My controls are outside the notebook widget..

Design as shown in attached text file

But i am not able to correctly disable or unrealize widgets for a
particular page in notebook....

Thank you for your help


Mon, 1 Nov 2004 09:29:06 +0100, David Necas (Yeti)
<yeti physics muni cz> wrote:
On Mon, Nov 01, 2004 at 05:15:01PM +0900, Vinod Joseph wrote:

i want to modify visibility of buttons in different pages of the
notebook widget....

my notebook widget is used to perform different actions in a series of
steps in different pages and thereby the controls need to change..

for eg....BACK button invisible or disabled in first page

NEXT button invisible in last page of the notebook

Please could you guide me with the best way to perform this procedure...


   If a control affects only one notebook page, place it on
   that notebook page. If it affects every page in the
   notebook, place it outside the notebook control, for
   example beside the window's OK and Cancel buttons.

Beside that, if you want a wizzard, use wizzard, not
a notebook (a wizzard widget is available only in Gnome
libs, not in Gtk+ though).  In a notebook user can freely
switch to any page any time (or not to switch) -- if you
want a serie of steps notebook is not the right widget.

Beside that, if you want to some buttons inaccessible in
spite of all this, use gtk_dialog_set_response_sensitive(),
because disappearing dialog buttons are extremely confusing.


Dynamic IP address is not a crime.

Attachment: notebook_widget.txt
Description: Text document

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