Re: [glade--]Just some more things I ran across
Christof Petig <[email protected]>
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Organization | Adolf Petig GmbH & Co. KG |
| Message-ID | <[email protected]> |
Mark Jones wrote:
> //BUG f.Statement() << instance << "->get_buffer()->set_text("
> f.Statement() << instance << "get_buffer()->set_text("
fixed.
> //BUG f << Configuration.InstanceName(w.Name());
> f << "*" << Configuration.InstanceName(w.Name());
you're right.
> Buttons with mnemonic are not setup correctly for gtkmm2:
>
> Currently it generates:
>
> Gtk::Button *prefCancelButton = manage(new class Gtk::Button(""));
> dynamic_cast<Gtk::Label*>(prefCancelButton->get_child())->parse_uline("_Cancel");
>
> It could just generate (I'm not sure if this is the easiest way or best way though, it is certainly the easiest way for hand coded gtkmm2, but I don't know if it is the easiest way for glade-- to generate the code):
>
> Gtk::Button *prefCancelButton = manage(new class Gtk::Button("_Cancel", true));
>
> parse_uline() is what is causing the problem though for gtkmm2. I just giving one alternative that I see.
Wow, they definitely did a good job of creating a sensible API for
gtkmm2. Using it now.
Christof