Re: NautilusMenuItemDetails not defined in header file



Alexander Larsson a écrit :
On Wed, 2008-02-06 at 16:07 +0100, Ouattara Oumar Aziz wrote:

/* NautilusMenuItem has the following properties:
 *   name (string)        - the identifier for the menu item
 *   label (string)       - the user-visible label of the menu item
 *   tip (string)         - the tooltip of the menu item
 *   icon (string)        - the name of the icon to display in the menu item
 *   sensitive (boolean)  - whether the menu item is sensitive or not
 *   priority (boolean)   - used for toolbar items, whether to show priority
 *                          text.
 *   menu (NautilusMenu)  - The menu belonging to this item. May be null.
 */

Maybe the GObject properties thing is the solution , but I don't know
it at all :-p

Use g_object_get() with the above names. See the glib docs for details.

Thank you, I'll try doing it this way.

Attachment: signature.asc
Description: OpenPGP digital signature



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