Re: GtkStatusBar and context ID



Andrei Zmievski <andrei ispi net> writes:
> 
> What is the purpose of context ID in GtkStatusBar operations? The manual
> says that it's used to uniquely identify the source of the mesage, but
> how is that useful?
> 

It's pretty useless IMO, in GTK 2 you can just use "0" for the context
ID all the time.

The idea is that each part of the app that sets a status has its own
context for push/pop, so you don't accidentally pop someone else's
message or something.

Havoc




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