[Glade-users] File chooser button to set a file name



On 04/10/11 20:38, Tadej Borov?ak wrote:
Hi.

I've used successfully the file chooser button: the file chooser window
shows up correctly and everything works...but how to do a similar thing
to create a new file, not choosing an existent one?
How did you create your button? Passing GTK_FILE_CHOOSER_ACTION_SAVE
as a construction parameter should enable you to select non-existent
file name.

Cheers,
Tadej

Already tried, but unfortunatelt i get this error during execution:
Gtk-WARNING **: gtk_file_chooser_button_set_property: Choosers of type 
`gtkmm__GtkFileChooserButton' do not support 
`GTK_FILE_CHOOSER_ACTION_SAVE'.

How can I fix this?

-- 
Alessandro Candini

MEEO S.r.l.
Via Saragat 9
I-44122 Ferrara, Italy
Tel: +39 0532 1861501
Fax: +39 0532 1861637
http://www.meeo.it

========================================
"ATTENZIONE:le informazioni contenute in questo messaggio sono
da considerarsi confidenziali ed il loro utilizzo ? riservato unicamente
al destinatario sopra indicato. Chi dovesse ricevere questo messaggio
per errore ? tenuto ad informare il mittente ed a rimuoverlo
definitivamente da ogni supporto elettronico o cartaceo."

"WARNING:This message contains confidential and/or proprietary
information which may be subject to privilege or immunity and which
is intended for use of its addressee only. Should you receive this
message in error, you are kindly requested to inform the sender and
to definitively remove it from any paper or electronic format."





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