[Glade-users] glade and/or gtkmm, insert a FileChooserDialog inside a Notebook tab



Hi!

If you copy this code into *.glade file then it shows how you could place
the notebook and file chooser widget in a dialog box:

https://gist.github.com/88f14694cc11273727a5

That should lead to the same functionality with responses. And it is not
difficult to open a window and wait for button to be pressed. There is
probably examples of that at http://www.gtkforums.com/ or stackoverflow.

atb, Tobias


2015-01-29 11:48 GMT+01:00 Nicolas J?ger <jagernicolas at legtux.org>:

Hi,

Maybe you are mixing up "file chooser dialog" with "file chooser
widget".

 actualy I didn't know so far that there is a file choose widget (I'm
using gtkmm/glade for less than two weeks for now, so I'm still
learning). I was trying to add the file chooser dialog.

I can insert the file chooser widget, but it leads me to another
problem. using the function run(fileChooserDIALOG) was cool because It
returns the response of the button I click on. There is a way to do the
same things with a widget ?

The solution I eventually plan, is to use a trhead with a loop waiting
that a button has been clicked. But this solution doesn't seems to be
in the spirit of gtk. So if you have any suggestion, please share it.

regards,
/nicoo
_______________________________________________
Glade-users maillist  -  Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/glade-users/attachments/20150129/ef77e540/attachment.html>




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