impulse
impulse

Reputation: 206

GTK# window resizable

how to make a window size fix in GTK#?? let w be a window class, i try to use Resizable bool variable,but it failed.

Window w = new Window("");
w.Resizable = false;

Anyone can help??

Upvotes: 0

Views: 841

Answers (2)

Alex R
Alex R

Reputation: 11

In GTK#:

w.AllowGrow = false; w.AllowShrink = false;

Upvotes: 0

Orn Kristjansson
Orn Kristjansson

Reputation: 3485

See if you can get this one to work instead.

Set FormBorderStyle to FixedDialog

Upvotes: 1

Related Questions