Re: Invisible GtkImage

2013-06-17 Thread Kip Warner
On Mon, 2013-06-17 at 22:05 +0300, אנטולי קרסנר wrote: > Just to make sure you checked the small things... > > Did you try AspectFrame? IIRC that's exactly what it does: keeps the > ratio of the contained widget. IIRC, the Gnome Mines game (aka > minesweeper) uses this kind of container to keep th

Re: Gio FTP transfers stops after 25 seconds

2013-06-17 Thread Mathieu Comandon
The method isn't available because it's not introspectable. copy_async requires multiple callbacks and user data argument, which is not implemented yet in gobject-introspection. There's a bug report on Launchpad about this: https://bugs.launchpad.net/ubuntu/+source/gobject-introspection/+bug/103319

Re: Invisible GtkImage

2013-06-17 Thread אנטולי קרסנר
Just to make sure you checked the small things... Did you try AspectFrame? IIRC that's exactly what it does: keeps the ratio of the contained widget. IIRC, the Gnome Mines game (aka minesweeper) uses this kind of container to keep the minefield view square-shaped even when the window is stretched

Re: Gio FTP transfers stops after 25 seconds

2013-06-17 Thread אנטולי קרסנר
I don't have experience with Python, but still worth checking: Did you check why the method isn't available in the bindings? Is it because of how Python deals with concurrency, or just a "bug" which can be solved by adding support for that method? Sometimes I see GTK methods not having a C++ bindi

Re: Fulscreen mode

2013-06-17 Thread Florian Müllner
On Mon, Jun 17, 2013 at 6:46 PM, John Coppens wrote: > I would like to make DArea full-screen, if possible even hiding the > window borders. gtk_window_fullscreen() will ask the window manager to fullscreen the window, which should work as expected on most commonly used WMs. The canonical way of

Re: Fulscreen mode

2013-06-17 Thread John Coppens
On Sun, 16 Jun 2013 09:09:52 +0300 Dov Grobgeld wrote: > You just need to use gtk_widget_hide() on the widget and it and its child > widgets will not be shown. Hi Dov, I don't really understand that... I have (more or less) this: ++ + Menu

Re: GTK free function doesn't appear to have any affect.

2013-06-17 Thread dE
On 06/16/13 21:35, Chris Vine wrote: On Sun, 16 Jun 2013 12:28:52 +0530 dE wrote: Apart from that, in the free_ptr? Does memory get freed for anyone else? #include #include #define COLS 200 void free_ptr ( GtkListStore * ); int main ( ) { gtk_init( NULL, NULL ); int i, j;