set_extra_widget



ok,

should have thought of this at once...

overriding
virtual bool Gtk::Widget::on_leave_notify_event ( GdkEventCrossing* /event/ ) | [protected, virtual]
in the class derived from the FileChooserDialog does the trick...

bye, D.
|
-------- Original Message --------
Subject: 	set_extra_widget
Date: 	Sun, 30 Jan 2005 12:55:49 +0100
From: 	danny van elsen <danny van elsen skynet be>
To: 	gtkmm-list gnome org



hello all,

I have a class, derived from FileChooserDialog, that uses 'set_extra_widget' to show a number of possible 'save as' file types in a combo box (also a class).

however, what is the correct way to let the dialog know that a different file type has been selected?

I want to be able to adapt the text in the edit field, e.g.: when 'text *.txt' is selected in the combobox, the file name should become "input.txt"

bye, D.





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