[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Customizing GtkFileChooserDialog
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Customizing GtkFileChooserDialog
- Date: Mon, 28 May 2007 17:04:45 +0100
On Mon, 2007-05-28 at 17:51 +0200, Olivier Guilyardi wrote:
> Hi,
>
> I need to add some extra saving options to a GtkFileChooserDialog. In this
> purpose I'm trying to access its vbox with:
>
> GtkWidget *label = gtk_button_new_with_label ("test");
> gtk_container_add (GTK_CONTAINER (GTK_DIALOG (file_chooser_dialog)->vbox), label);
>
> But it has no effect and produces no error on stderr. I also tried with
> gtk_box_pack_start()
you should also show the widget. but you're better off using
gtk_file_chooser_set_extra_widget()
which was added for this purposes.
> Can I customize it this way or must I create my dialog from scratch using
> GtkFileChooserWidget and adding extra widgets?
this is another option, but the extra widget is the preferred way.
ciao,
Emmanuele.
--
Emmanuele Bassi, E: ebassi gmail com
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]