Re: Custom Titlebar

2014-08-12 Thread Victor Aurélio Santos
Do you have at least the 3.10 version ? 2014-08-12 3:50 GMT-03:00 Mahan Marwat : > I am using GTK+ 3 on Window XP (SP2). > So, when I call gtk_window_set_titlebar it raises an exception that no > gtk_window_set_titlebar function found. > > I know there is one another way to add a custom title-bar

Re: Custom Titlebar

2014-08-11 Thread Mahan Marwat
I am using GTK+ 3 on Window XP (SP2). So, when I call gtk_window_set_titlebar it raises an exception that no gtk_window_set_titlebar function found. I know there is one another way to add a custom title-bar to my application. i.e Set the decorating to false by calling: set_decorated(False) and add

Re: Custom Titlebar

2014-08-11 Thread Emmanuele Bassi
On 11 August 2014 22:50, Michael Cronenworth 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

Re: Custom Titlebar

2014-08-11 Thread Michael Cronenworth
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 advertise

Re: Custom Titlebar

2014-08-11 Thread David Nečas
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 win

Re: Custom Titlebar

2014-08-11 Thread Florian Müllner
On Sun, Aug 10, 2014 at 7:31 PM, Michael Cronenworth 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? > >

Re: Custom Titlebar

2014-08-11 Thread Michael Cronenworth
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_WIND

Custom Titlebar

2014-08-09 Thread Mahan Marwat
How can I add a custom titlebar to my GUI application? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list