Re: Restrict user maximising the size of the screen
- From: parthasarathi s a <parthasarathi mail cyberneme com>
- To: "Thomas Keaney" <se40319 cs may ie>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Restrict user maximising the size of the screen
- Date: Tue, 27 Jan 2004 21:19:34 +0530
hi
How would I restrict the user from maximising the screen through either dragging it or using the maximising
button at the top of the screen?
You could use the function gtk_window_set_policy() which has the following definition:
gtk_window_set_policy (GtkWindow *window,gint allow_shrink,gint allow_grow,gint auto_shrink);
You have to pass "FALSE" to the parameter allow_grow in case u dont want to allow the users to increas the
window size and "TRUE" otherwise.
regards,
partha
_____________
parthasarathi s a
Associate Engineer - e-Security
Odyssey Techonologies Limited.
e-mail: parthasarathi at odysseytec dot com
parthasarathi at mail dot cyberneme dot com
___________________
Live to Win. Dare to Lose.
___________________
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]