Re: [gtk-list] Re: Changing Buttons in a hbox?
- From: Andreas Tille <tille physik uni-halle de>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Changing Buttons in a hbox?
- Date: Wed, 28 Apr 1999 12:06:56 +0200 (METDST)
On Wed, 28 Apr 1999, Erik Mouw wrote:
> The simplest solution is to use gtk_widget_set_sensitive() on the buttons
> you want to grey out.
That's no solution, because the unneeded buttons should disappear.
> The somewhat more difficult solution is to use a GtkNotebook without tabs
> (use gtk_notebook_set_show_tabs()) with two pages: one containing the
> three buttons, and one containing the single button. Use
> gtk_notebook_set_page() to go to the page with the correct set of buttons.
Seems me to be a brilliant idea! Thanks.
Kind regards
Andreas.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]