Re: input only event boxes



On Wed, 2003-08-20 at 17:37, Taavi Talvik wrote:
> On 20 Aug 2003, Soeren Sandmann wrote:
> 
> > > I finally made some time to implement the input-only window support for
> > > GtkEventBox. This is really useful when you're trying to write code that
> > > follows themes well.
> > >
> > > Comments?
> >
> > It looks good to me in general. Some comments:
> >
> >         - The "input_only" property should probably be a real
> >           property.
> 
> I am currently trying to comprehend gobject/gtk/gnome and write foreign
> language interface for it.
> 
> Main problem is that *many* widgets are designed for C in mind only. And
> there is no possibility to use just
> 
> 	object = create.gobject("blaah")
> 	config(object,"property","value")
> 
> which will make foreign language interface clean and simple. Definitely
> not optimal way (performace wise, visually), but it is always possible to
> optimize later.

If you find any widgets that can't be created with g_object_new(),
please file a bug; the goal is that as many widgets as possible
can be created with

 g_object_new (G_TYPE_FOO, NULL);
 
and that all widgets can be created with 

 g_object_new (G_TYPE_FOO, <appropriate properties>, NULL);

It's certainly not intended that you can use GTK+ without using
methods; you can't represent gtk_widget_destroy() or any other
action as a property sanely. But creation should be possible using
properties.

Regards,
						Owen





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