Re: Window styles

2011-05-27 Thread John Emmas

On 27 May 2011, at 17:06, Tadej Borovšak wrote:

> 
> See gtk_window_set_transient_for() function. I think it'll do what you
> need to be done.
> 

Thanks Tadej !
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Window styles

2011-05-27 Thread Tadej Borovšak
Hi.

> Incidentally (sorry for the dumb questions but my background is mostly with 
> MFC) - is it possible to set a GTK+ window to be "always on top"?

See gtk_window_set_transient_for() function. I think it'll do what you
need to be done.

Cheers,
Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeb...@gmail.com
tadej.borov...@gmail.com

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Window styles

2011-05-27 Thread John Emmas

On 26 May 2011, at 18:23, Stefan Salewski wrote:

> 
> Is
> 
> gtk_window_set_resizable
> 
> and similar not working for you?
> 

Sorry for taking so long to reply.  Yes, that worked just fine.  Thanks!

Incidentally (sorry for the dumb questions but my background is mostly with 
MFC) - is it possible to set a GTK+ window to be "always on top"?

John
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Window styles

2011-05-26 Thread Stefan Salewski
On Thu, 2011-05-26 at 18:14 +0100, John Emmas wrote:
> Using gtk_window_new() will create a window which the user can re-size
> and maximize.  I don't want my user to be able to perform these
> actions.  In my old Win32 days I'd achieve it by creating a window,
> then removing the styles WS_THICKFRAME and WS_MAXIMIZEBOX.  How do I
> achieve this with gtk?
> 
> John

http://developer.gnome.org/gtk/stable/GtkWindow.html

Is

gtk_window_set_resizable

and similar not working for you?




___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Window styles

2011-05-26 Thread John Emmas
Using gtk_window_new() will create a window which the user can re-size and 
maximize.  I don't want my user to be able to perform these actions.  In my old 
Win32 days I'd achieve it by creating a window, then removing the styles 
WS_THICKFRAME and WS_MAXIMIZEBOX.  How do I achieve this with gtk?

John
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list