Re: is gtk_file_chooser_set_extra_widget redundant?



Hello,

--- Matthias Clasen <matthias clasen gmail com> ha
scritto: 

On 1/22/06, Claudio Fontana <sick_soul yahoo it>
wrote:
Hello,

while extending a GtkFileChooserDialog with some
custom widgets using the same hook as with any
other
Dialog (->vbox), I noticed that GtkFileChooser
offers
a dedicated method
gtk_file_chooser_set_extra_widget().

I tried using it and shows exactly the same as
using
->vbox.

Isn't it redundant? What are the differences
between
the two ways, and which is preferable?

Thanks

Claudio


gtk_file_chooser_set_extra_widget() is guaranteed
not to break
in future gtk releases.

thank you for your answer,
could you explain a little more why?

vbox is documented as the general way to extend
dialogs, and the examples use it:
http://developer.gnome.org/doc/API/2.0/gtk/GtkDialog.html

Why is gtk_file_chooser_set_extra_widget() function
more guaranteed not to break in the future, compared
to struct GtkDialog?

Is there any plan to make a replacement of GtkDialog,
and mark current GtkDialog as deprecated?

CLaudio



        
        
                
___________________________________ 
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive 
http://it.messenger.yahoo.com



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