[MonoDevelop] GTK Widget problem
Luciano _
lnc19 at hotmail.com
Mon Jan 8 10:46:10 EST 2007
Hi, I think the same when i start with Gtk# Read this:
// Pasted from
http://www.mono-project.com/GtkSharp:_Widget_Layout_and_Packing
GTK# has a number of devices to help control the placement of two or more
widgets within a window. These are called container objects and serve to
guide layout and placement within a window or another container.
This technique is different from the common method of positioning items
using the System.Windows.Forms toolkit. One major difference between GTK#
and System.Windows.Forms is that applications using GTK# do not use absolute
or fixed coordinates for positioning widgets anywhere as near as much as
applications using Windows.Forms. Applications using the GTK toolkit create
the right layout for their interface through layout and packing container
objects.
// End Paste
In my words:
Gtk# have a Fixed Container to work like System.Windows.Forms, but it is not
the prefer way to do this. You have HBox and VBox that are containers, to
work with columns and rows, the main advantage is that you can translate
your application without having problems with the words length.
In response to your question: you have this behavior beacause you put a
widget (button) in a window, and, it use all the space that can, if you use
HBox and VBox (or even Table) you can put other widgets to make your User
Interfase.
Luciano
>From: "Jim Burnett" <jrbtech at gmail.com>
>To: monodevelop-list at lists.ximian.com
>Subject: [MonoDevelop] GTK Widget problem
>Date: Mon, 8 Jan 2007 10:19:07 -0500
>MIME-Version: 1.0
>Received: from lists.ximian.com ([130.57.169.22]) by
>bay0-mc8-f1.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Mon, 8
>Jan 2007 07:19:16 -0800
>Received: from galactus.ximian.com (localhost.localdomain [127.0.0.1])by
>lists.ximian.com (Postfix) with ESMTP id 8C1551CFBF2;Mon, 8 Jan 2007
>11:35:04 -0500 (EST)
>Received: from herald.ximian.com (frontgate.ximian.com [130.57.169.19])by
>lists.ximian.com (Postfix) with ESMTP id 7D5BC1CFBEDfor
><monodevelop-list at lists.ximian.com>;Mon, 8 Jan 2007 11:35:02 -0500 (EST)
>Received: by herald.ximian.com (Postfix, from userid 2601)id 2EFF27001D;
>Mon, 8 Jan 2007 10:19:11 -0500 (EST)
>Received: from wx-out-0506.google.com (wx-out-0506.google.com
>[66.249.82.229])by herald.ximian.com (Postfix) with ESMTP id 967DE7004Afor
><monodevelop-list at lists.ximian.com>;Mon, 8 Jan 2007 10:19:08 -0500 (EST)
>Received: by wx-out-0506.google.com with SMTP id h30so79990wxdfor
><monodevelop-list at lists.ximian.com>;Mon, 08 Jan 2007 07:19:07 -0800 (PST)
>Received: by 10.90.117.15 with SMTP id p15mr2055270agc.1168269547934;Mon,
>08 Jan 2007 07:19:07 -0800 (PST)
>Received: by 10.90.84.15 with HTTP; Mon, 8 Jan 2007 07:19:07 -0800 (PST)
>X-Message-Info: txF49lGdW42VeepjE7qC0dFfuuFQVytLUTkbjOgAWp4=
>X-Original-To: monodevelop-list at lists.ximian.com
>Delivered-To: monodevelop-list at lists.ximian.com
>X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on
>frontgate.ximian.com
>X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0
>tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS version=3.0.3
>X-BeenThere: monodevelop-list at lists.ximian.com
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: MonoDevelop discussion mailing
>list<monodevelop-list.lists.ximian.com>
>List-Unsubscribe:
><http://lists.ximian.com/mailman/listinfo/monodevelop-list>,
><mailto:monodevelop-list-request at lists.ximian.com?subject=unsubscribe>
>List-Archive: <http://lists.ximian.com/pipermail/monodevelop-list>
>List-Post: <mailto:monodevelop-list at lists.ximian.com>
>List-Help: <mailto:monodevelop-list-request at lists.ximian.com?subject=help>
>List-Subscribe:
><http://lists.ximian.com/mailman/listinfo/monodevelop-list>,<mailto:monodevelop-list-request at lists.ximian.com?subject=subscribe>
>Errors-To: monodevelop-list-bounces at lists.ximian.com
>Return-Path: monodevelop-list-bounces at lists.ximian.com
>X-OriginalArrivalTime: 08 Jan 2007 15:19:17.0682 (UTC)
>FILETIME=[5D1E9920:01C73338]
>
>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?
>
>Thanks
>-Jim
>_______________________________________________
>Monodevelop-list mailing list
>Monodevelop-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/monodevelop-list
_________________________________________________________________
Horóscopo, tarot, numerología... Escucha lo que te dicen los astros.
http://astrocentro.msn.es/
More information about the Monodevelop-list
mailing list