Re: GtkAllocation accessor

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

 



Hi.

> No it doesn't, which is why GtkAllocation is causing the problem with
> GSEAL_ENABLE, viz:
>
>  GdkWindow *gtk_widget_get_window(GtkWidget *widget);
>
> not
>
>  void gtk_widget_get_window(GtkWidget *widget, GdkWindow *window);
>
> and not the other accessor functions.

You missed the most important word in Emmanuele's response: structure.
GdkWindow is not a structure like GtkAllocation. GdkWindow should be
treated as opaque object that is manipulated only through provided
API. gdk_color_parse() function would be similar case to
gtk_widget_get_allocation() in this respect.

Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeboro@xxxxxxxxx
tadej.borovsak@xxxxxxxxx
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux