RE: GtkCList freeze/thaw methods.




hi all,

i've just commited the neccessary bits for incremental
freezing abilities for the following functions:

g_hash_table_freeze/g_hash_table_thaw
gtk_calendar_freeze/gtk_calendar_thaw
gtk_layout_freeze/gtk_layout_thaw
gtk_text_freeze/gtk_text_thaw
gtk_clist_freeze/gtk_clist_thaw

the changes to clist can produce minor source incompatibilities,
code portions like:

  gboolean frozen;

  frozen = GTK_CLIST_FROZEN (clist);
  gtk_clist_freeze (clist);
  [...]
  if (!frozen)
    gtk_clist_thaw (clist);

will not work anymore, they have to be modified to simply:

  gtk_clist_freeze (clist);
  [...]
  gtk_clist_thaw (clist);

also, since widget accelerators do not provide true freezing
abilities, gtk_widget_freeze_accelerators and gtk_widget_thaw_accelerators
are now deprecated. the corresponding replacement functions are
gtk_widget_lock_accelerators and gtk_widget_unlock_accelerators.

---
ciaoTJ



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