Re: Regarding resizing windows
- From: Havoc Pennington <hp redhat com>
- To: Jyothi <jyothi ncoretech com>
- Cc: gtk-list gnome org
- Subject: Re: Regarding resizing windows
- Date: 19 Nov 2001 12:39:03 -0500
Jyothi <jyothi ncoretech com> writes:
>
> How to diasable resizing of windows???.. ie. window should not show
> options of maximize or minimize...
You can use gtk_window_set_policy() to set allow_grow = FALSE
allow_shrink = FALSE and auto_shrink = TRUE to get a non-resizable
window. However most window managers don't actually turn off the
maximize control.
There is no way to prevent minimization with many window managers.
Some might support gdk_window_set_functions (window_widget->window,
GDK_FUNC_ALL | GDK_FUNC_MINIMIZE), but they will typically still allow
the window to go offscreen in other ways (e.g. by switching desktops).
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]