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

Re: Setting "inconsistent" on bonobo checkmenuitem



-

Well, I don't know anything about Bonobo, but probably something like:

bonobo_ui_component_set_prop(popup,"/commans/show","inconsistent",TRUE,NULL);

or something...

-
charlie

On Wed, 2003-05-28 at 16:56, Loban A Rahman wrote:
> How do I set the "inconsistent" state on a CheckMenuItem
> BonoboUIComponent? I know how to set it active or not, using the
> following code snippet:
> 
> -------
> PanelApplet *applet;
> BonoboUIComponent *popup;
> gooblean visible;
> ...
> popup = panel_applet_get_popup_component(applet);
> bonobo_ui_component_set_prop(popup, "/commands/show", "state",
>                              visible ? "1" : "0", NULL);
> -------
> 
> But I dunno how to set it to an inconsistent state.
> 
> Cheers,
> Loban
>  
> /-------------------------------------------------------------------\
> |   Loban Amaan Rahman  <-- anagram of -->  Aha! An Abnormal Man!   |
> | loban@earthling.net, loban@caltech.edu,  http://loban.caltech.edu |
> \-------------------------------------------------------------------/
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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