Re: Designing objects with GObject

2007-06-29 Thread Konstantin Evdokimenko
If you will make properties of interface C writable and readable in object A and only readable in object B then objects A and B will not implement the same interface. Try ignore writing these properties for object B. But I don't know how this may be done =(. ___

Re: Flickering display (using RGB buffer to write on a DrawingArea)

2007-06-26 Thread Konstantin Evdokimenko
Use this on your expose event callback. gdk_window_begin_paint_rect(widget->window, & rect); /* Draw something */ gdk_window_end_paint(widget->window); And make sure that widget is double buffered (by default). Look at gtk_widget_set_double_buffered function. __

Re: macro IS_xxx

2007-06-24 Thread Konstantin Evdokimenko
> 2007/6/24, Andrea Zagli <[EMAIL PROTECTED]>: > i need it because i pass obj_a/obj_b to a function that do different > things based on object type > > is there a different way to make it without check the object type? > > > > is it a bug? or is it normal? > > > > Show me a single object system imp