Re: Customizing GtkFileChooserDialog



Emmanuele Bassi wrote:
On Mon, 2007-05-28 at 17:51 +0200, Olivier Guilyardi wrote:

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.

I didn't see this one.. Thanks :)

--
  Olivier



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