RE: [gtk-list] Pixmaps in Tree Controls?



-----BEGIN PGP SIGNED MESSAGE-----


On 04-Aug-98 Devin Carlen wrote:
>Is there a way to add pixmaps to the labels in a Gtk Tree control? It's not
>that
>important really, but it might make things look a little better. I'm using the
>Gtk-- wrapper, so I haven't gone through the actual Gtk routines looking for a
>way yet.
>
>One more quick question while I'm thinking about it:
>If I use a Menufactory, everything is pretty straightforward as far as
>separators, accelerators, etc, but if I use a simply Menu, I'm completely in
>the
>dark how to add separtor bars. I can figure out all the connections,
>accelerators, but not something as simple as a separator bar.
>

- From FAQ:

4.9 How can I define a separation line in a menu? 

See the Tutorial for information on how to create menus. However, to create a se
paration line in a menu, just insert an empty menu
item: 

    menuitem = gtk_menu_item_new();
    gtk_menu_append(GTK_MENU(menu), menuitem);
    gtk_widget_show(menuitem);

- ------------------------------------
Mike Heffner <aheffner@lakefield.net>
Manitowoc,  WI
AudioLink - http://lakefield.net/~aheffner/
ICQ #882073
Date: 04-Aug-98   Time: 16:53:12
- ------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNceC1IBW3lREyyCBAQE7OwP/ZVzoIZmSCG4JhND1nPNc9p8Wxbs4D/zR
MTT/SgeKENjUyc5nfLrrafgly2cyJbM9SA4C3pJzCJGT8Noh+10q0hd4wkot2wTO
N3jjq2sMyrPNh4NsExE0f44eSbqVFpGEIvayUnjTILu+P4kb7M437s/ObyeVmDC2
f78I3jf4Yjk=
=8gLN
-----END PGP SIGNATURE-----



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