Is there a code example to match file-types with icon themes automatically?

2009-10-13 Thread Daniel B. Thurman
Are there any code examples available that can automatically match the file-type with the gtk.icon_theme_get_default() method? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Coding a console program frontend

2009-10-13 Thread Ardhan Madras
Hi, > However the child proccess (the GUI) when tries to read data from the pipe > it hangs. If you run this program you can see that the printf( "BEFORE READ > LINE\n" ) is printed but the printf( "AFTER READ LINE\n" ) is not.. > What I'm doing wrong? What do you means with *hang*? or it's bein

Re: catching pressed in a dialog with entry and treeview

2009-10-13 Thread Mike Massonnet
Hi, Right thing to do should be to connect the dialog to the signal GtkWidget:"key-press-event", possibly filter on GDK_Escape, and return true (see the api for more info on the return value, true will block any further calls). 2009/10/12 Manu TM : > Hi > > I'm having a problem with a gkt dialog.

Re: Unable to get Python/Gtk code to work...

2009-10-13 Thread Mike Massonnet
Hi, >From a quick view there is no Gtk.init at the beginning (I don't know python/gtk very well, but from a search it doesn't seem to be needed there), and at the end it doesn't enter the main loop with gtk.main(). 2009/10/12 Daniel B. Thurman : > I am a first timer here and I am trying to get a