Re: [gtk-list] How to retitle a widget?



A file selection is nothing more than a GtkWindow
with some stuff in it already; try doing a

gtk_window_set_title(GTK_WINDOW(filesel1), "New Title");


Mark


Chuck Lidderdale wrote:
> 
> I can resize, recolor, rewhatever - is there a way to retitle a widget?
> - fileselection to be exact - on the fly - ie:
>   gtk_set_title (filesel1, "Open File Selector");
>   gtk_widget_show (filesel1);
> or
> gtk_set_title (filesel1, "Save [As] File Selector");
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null



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