FileChooserButton signal how to?

View: New views
2 Messages — Rating Filter:   Alert me  

FileChooserButton signal how to?

by Damon Register-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am just learning gtkmm using the user interface built with Glade3.  I
have found a few examples and with the reference document at
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classes.html
I have been able to learn many of the widgets that Glade3 has.  Most of
the widgets were quite easy to setup and use but I am stuck on trying
to figure out the FileChooserButton.

 From the gtkmm doc I found get_filename() and was able to get the file
name after it was selected.  It seems logical (at least to me) that
there should be a signal to tell me after that the selection is complete
but I haven't found the method to do that.  The closest thing I could
find is the signal_update_preview() but I see that happens as soon as
I select a file and not when I click the open button.  How do I get the
signal from the open button in the chooser dialog?

Damon Register
_______________________________________________
gtkmm-list mailing list
gtkmm-list@...
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: FileChooserButton signal how to?

by Murray Cumming :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2008-05-16 at 17:57 -0400, Damon Register wrote:
[snip]
> It seems logical (at least to me) that
> there should be a signal to tell me after that the selection is
> complete
> but I haven't found the method to do that.
[snip]

I vaguely remember seeing a bug report about that, or maybe a new signal
being added for that. But I can't find it now. Does anyone know what I
mean?


--
Murray Cumming
murrayc@...
www.murrayc.com
www.openismus.com

_______________________________________________
gtkmm-list mailing list
gtkmm-list@...
http://mail.gnome.org/mailman/listinfo/gtkmm-list