Re: API for putting close buttons on tabs (proposal)



On Fri, 2008-06-27 at 16:09 +0300, Alexander Semenov wrote:
> To summarize:
> 
> /* Toggle show tabs close buttons globally */
> void     gtk_notebook_set_show_close_buttons (GtkNotebook *notebook, gboolean show);
> gboolean gtk_notebook_get_show_close_buttons (GtkNotebook *notebook);
> 
> /* Toggle show tab close button individually for page */
> void     gtk_notebook_set_show_close_button (GtkNotebook *notebook, gboolean show, gint position);
> gboolean gtk_notebook_get_show_close_button (GtkNotebook *notebook, gint position);
> 

IMHO... If you ask me i prefer swap show and postion in
set_show_close_button call :-)




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