[MonoDevelop] GTK Widget problem

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Jan 8 10:31:16 EST 2007


On 1/8/07, Jim Burnett <jrbtech at gmail.com> wrote:
> Hey all. I'm new to developing in Monodevelop, not too new to
> Developing in C#. I'm playing with a the GUI editor in Monodevelop and
> for some reason, every button I drag to my window is docking full. I
> don't see a property for docking, any clues?

It's because GTK+/GTK# uses a system called "packing" instead of docking.

The following documents explain this
http://mono-project.com/GtkSharp:_Packing_with_Boxes
http://mono-project.com/GtkSharp:_Packing_with_Tables
http://www.gtk.org/tutorial/c355.html

There's also a "fixed" layout container that replicates the grid
layout of WinForms
http://mono-project.com/GtkSharp:_Fixed_Container
but IIRC the Stetic designer doesn't support this yet.

You may find some of the other tutorial here useful:
http://mono-project.com/Category:GtkSharp

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list