Re: Custom Titlebar
On 08/09/2014 04:25 PM, Mahan Marwat wrote: How can I add a custom titlebar to my GUI application? Are you asking for custom text or a complete replacement with widgets of your own? If the former then it's a simple call. I'll use the C function: gtk_window_set_title( GTK_WINDOW( window ), Hello this is new title bar text ); If the later, GTK does not support that. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Custom Titlebar
On Sun, Aug 10, 2014 at 7:31 PM, Michael Cronenworth m...@cchtml.com wrote: On 08/09/2014 04:25 PM, Mahan Marwat wrote: How can I add a custom titlebar to my GUI application? Are you asking for custom text or a complete replacement with widgets of your own? [...] If the later, GTK does not support that. That is not quite true - since GTK 3.10, there's gtk_window_set_titlebar (GTK_WINDOW (window), titlebar_widget); ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Custom Titlebar
On Mon, Aug 11, 2014 at 11:28:34PM +0200, Florian Müllner wrote: That is not quite true - since GTK 3.10, there's gtk_window_set_titlebar (GTK_WINDOW (window), titlebar_widget); Unless you are running someting like Gnome 3(?), this will add a strangely looking thing to the top of your window, but inside. It will not change the title bar which is controlled by the window manager. I've never seen it actually do what is advertised. Admittely, I didn't test it much because I consider it broken by intent (not even getting to broken by design). Yeti ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Custom Titlebar
On 08/11/2014 04:40 PM, David Nečas wrote: Unless you are running someting like Gnome 3(?), this will add a strangely looking thing to the top of your window, but inside. It will not change the title bar which is controlled by the window manager. I've never seen it actually do what is advertised. Admittely, I didn't test it much because I consider it broken by intent (not even getting to broken by design). That's why I did not recommend this to the OP. Is that call even supported on win32? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
GDK PixbufLoader problem with TIFF files in 32bit mode on x86_64 linux
Hi all, I am trying to load TIFF files progressively using PixbufLoader (pixbufloader.c) which works perfectly fine when compiled natively for x86_64 but the same code produces a run time error when compiled for 32bit on x86_64: TIFF-Bild konnte nicht geladen werden which roughly translates to TIFF image could not be loaded. A corresponding, non-progressive version which uses gdk_pixbuf_new_from_file() works fine in both versions (pixbuf.c). Both C source files, a Makefile, a TIF image to test and some console output can be found here: https://gist.github.com/danielappelt/b39f8857b7995cda7cb4 I am not sure how to solve this problem myself. Maybe one of you could help me with this? The system I am using is an up-to-date Arch Linux with the following kernel: 3.15.5-1-ARCH #1 SMP PREEMPT Thu Jul 10 07:08:50 CEST 2014 x86_64 GNU/Linux The error occured with all TIFF files that I have tested. Do you have any ideas what is wrong here? Many thanks! Daniel ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Custom Titlebar
On 11 August 2014 22:50, Michael Cronenworth m...@cchtml.com wrote: On 08/11/2014 04:40 PM, David Nečas wrote: Unless you are running someting like Gnome 3(?), this will add a strangely looking thing to the top of your window, but inside. It will not change the title bar which is controlled by the window manager. only if your window manager is actually broken, and does not support Motif hints like it should. That's why I did not recommend this to the OP. Is that call even supported on win32? yes, and it actually works better than on sub-par window managers for Linux. http://blogs.gnome.org/nacho/files/2014/07/gedit-windows2.jpeg ciao, Emmanuele. -- http://www.bassi.io [@] ebassi [@gmail.com] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list