Re: EuGTK-3.0 File Dialogue question

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...

I suggest you try this.

I don't understand why select_file() has to return 1 to get the dialog to close, however. Is select_file() being called elsewhere?

Thanks, Jim

Your code works much better. The file selector works fairly well, but after selecting the file by double clicking on it, it remains open, even though the selected file has loaded into the editor window/pane. The file selector will not respond to the "cancel", "ok", or "x" -close buttons, but it does respond to the full/reduce window size box button. Also, it will minimize and appears not to spawn additional instances when used repeatedly. However; it seems to freeze, if you navigate to another directory and load a file. I think there are additional commands regarding navigation, new folders and what not.

This is a big step forward.

The compiled version of my editor without the gtk file selector = 660k. With the gtk file selector = 1436k.

I think it might be worth pursuing a bit further to see if a robust file selector can be developed. I know of of several console utility programs which could really benefit from a file selector.

Your help is deeply appreciated.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu