1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd">
5
>How do I set the size of a widget/window? How do I
6
prevent the user resizing my window? [GTK 2.x]</TITLE
9
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
12
HREF="book1.html"><LINK
14
TITLE="Development with GTK+: general questions"
15
HREF="c476.html"><LINK
17
TITLE="How could I get any widgets position?"
18
HREF="x643.html"><LINK
20
TITLE="How do I add a popup menu to my GTK+ application?"
21
HREF="x670.html"></HEAD
32
SUMMARY="Header navigation table"
51
><<< Previous</A
57
>Development with GTK+: general questions</TD
65
>Next >>></A
78
>How do I set the size of a widget/window? How do I
79
prevent the user resizing my window? <I
87
>gtk_widget_set_size_request()</TT
89
is used to set the size of a widget to a specific size.
94
>gtk_window_set_resizable()</TT
95
> function sets whether
96
the user can resize a window, which they can by default. The
97
definition of these functions are:</P
105
CLASS="PROGRAMLISTING"
106
>void gtk_widget_set_size_request (GtkWidget *widget,
110
void gtk_window_set_resizable (GtkWindow *window,
111
gboolean resizable); </PRE
121
SUMMARY="Footer navigation table"
134
><<< Previous</A
152
>Next >>></A
160
>How could I get any widgets position?</TD
174
>How do I add a popup menu to my GTK+ application?</TD
b'\\ No newline at end of file'