techno
techno

Reputation: 6500

Making GTK# Window non resizable

I have a GTK# Window i need to prevent user from resizing it.seen this answer How to set a fixed windows size for a GTK+ app in C? but i cannot find the correponding method for gtk_window_set_resizable (GTK_WINDOW(mainWindow), FALSE); for C# here http://docs.go-mono.com/?link=T%3aGtk.Window

Upvotes: 1

Views: 733

Answers (1)

Jussi Kukkonen
Jussi Kukkonen

Reputation: 14577

set_resizable() is a setter function for resizable property. In languages where properties are a language feature (like C#) these functions aren't needed.

In other words just use mainWindow.Resizable = false.

Upvotes: 2

Related Questions