Find the answer to your Linux question:
Results 1 to 2 of 2
Does anyone know how to add icons next to the underlining submenues in a menu bar. create = gtk_menu_item_new (); tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (create)->child), _("_Create")); gtk_widget_add_accelerator (create, "activate_item", ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2004
    Posts
    1

    Adding Icons To the Menu Bar in GTK 1.2


    Does anyone know how to add icons next to the underlining submenues in a menu bar.

    create = gtk_menu_item_new ();
    tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (create)->child),
    _("_Create"));
    gtk_widget_add_accelerator (create, "activate_item", file_menu_accels,
    tmp_key, 0, 0);
    gtk_widget_set_name (create, "create");
    gtk_widget_ref (create);

    how would i be able to an icon next to an item on this menubar?

  2. #2
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Stockholm, Sweden
    Posts
    1,296
    more info please.. what are you talking about? windowmanager? what?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •