Re: [glade--] Re: FileChooser bug?



Konstantin L Kouptsov schrieb:
GtkFileChooserDialog is unknown to glademm. If you take fileselection as a template to implement it all would work well. [I would commit the patch of course ;-) ]


In glade 2.6.7 there is "file chooser" in GTK+Additional palette. When it is added to a window, the generated underlying code shows it is derived from Gtk::Label, which is wrong. Every time I regenerate the code, I have to manualy change Gtk::Label to Gtk::FileSelection in *_glade.cc and *_glade.hh, after which everything compiles fine. Did not try FileChooserDialog, which is absent in this version of glade.

Repeat after me: Glade-2 and Glademm are two fully separate programs written in two different programming languages.

I said that glademm does not know about the widget you use, how ever glade-2 calls it. And that glademm has a bug which causes unknown toplevel widgets to render the source uncompileable. Glademm generates the source, glade-2 lets you edit the .glade file. The problem is within glademm (and fixable there).

If you are lazy send a sample .glade file to me, I'll implement the code generation.

   Christof

Attachment: signature.asc
Description: OpenPGP digital signature



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