Re: [gtkmm] Still looking for help: working with fileselection



Hello,

David Kinyanjui wrote:

> I have a fileselection dialog (Selection)
> and I'm trying to attach another VBox ....
> (snip)
>
> image.set(Selection->get_filename().c_str());
> image.show();

Does your image 'show' by itself ( stand-alone ) ?
Check out if image.set is overloaded to convert a
cstring to pixbuf in gtkmm-2+, and if so, the validity
of the cstring at image.set() call.

WRT adding widgets to fileselection, there's a sample
in support.h/cc of qtStu ( http://www.acarlab.com )
using derivation, which you may find useful.

- arvind



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