Re: [gtk-list] Re: Changing Buttons in a hbox?



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]