Re: i want to add different visibility to controls on notebook page
- From: "David Necas (Yeti)" <yeti physics muni cz>
- To: Vinod Joseph <diana vinod gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: i want to add different visibility to controls on notebook page
- Date: Mon, 1 Nov 2004 09:29:06 +0100
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...
Don't.
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.
(HIG)
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.
Yeti
--
Dynamic IP address is not a crime.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]