Re: Setting usize to (0,0)



What's wrong with having a widget than can shrink to zero pixels big, it
just means it is so small that it can be seen if shrank.  It doesn't have to
be this size, it just means that it requires zero space but will expand to
its allocation.  The reason I need this is because this is valid in our
multi-platform gui api (with gtk being a backend) and it allows us to do
widget.set_minimum_size (0, 0), Eiffel being the language this is written
in.

Ian

----- Original Message -----
From: "Ronald Bultje" <rbultje ronald bitfreak net>
To: "Ian King [ES]" <king eiffel com>
Cc: <gtk-list gnome org>
Sent: Thursday, November 07, 2002 12:20 PM
Subject: Re: Setting usize to (0,0)


> Hi Ian,
>
> On Thu, 2002-11-07 at 20:10, Ian King [ES] wrote:
> > Is it possible to call gtk_widget_set_usize(0,0) and have the
requisition
> > dimensions return that as well.  I need this behavior, if not is there a
> > workaround I can do to achieve this?
>
> Not showing the widget at all?
>
> why would you want this?
>
> Ronald
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]