Remarks and questions (gtkwidget relative)



Remarks:
-gtk_widget_set_style_recurse might be renamed as
gtk_widget_reset_style_recurse and the unused client_data parameter
removed.
-gtk_widget_style_set: parameter's name is "previous_style". Why it's
not "new_style" ? It is unused.
-function gtk_widget_modify_text: comment header is
"gtk_widget_modify_base".
-functions gtk_widget_modify_[bg, text, base]: state comment says it's
the foreground color.


Questions:
-variables named quark_* are declared as static GQuark. What does the
word "quark" mean ? why are these variables static but save widget
specific property ? is each quark like an unique property pool manager ?

-why 2 functions: show and real_show ?
-looks like there are many "message" (or signal) mechanisms:
signal_emit, notify_queue*, object_notify. Is there fundamental
differences ? Are some of them "instant messages" (I mean functions to
call are executed and then the signal emitting function return) and
other "delayed messages" ? Does delayed mean queued for main loop work ?

Feel free to comment (and help ;-).

    Thanks,

        Philippe Ribet






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