[Thunar-dev] some help with new file manager > toolbars plz..

Brian J. Tarricone bjt23 at cornell.edu
Thu Apr 14 21:50:28 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

damanseb at hotmail.com wrote:
> GTK says its best to use GtkIconFactory loaded with stock and application
> specific icons for the toolbar buttons
> How this construction works simply doesn't make sense to maybe or maybe i'm
> just not seeing it atm.
> I don't know where to start with this..
> 
> My question: could somebody provide me with a sample of adding a toolbar to
> a window?

Definitely do NOT use GtkItemFactory (I assume that's what you meant, as
GtkIconFactory is for something else).  It's been deprecated for quite
some time.  Unfortunately, your menu code probably isn't going to be
that useful, because both the menus and toolbar in Thunar will be
(should be?) based on GtkAction/GtkUIManager.

By far the most valuable reference is the GTK API reference.  There's a
link to that on the left-hand side of the gtk.org website.  The tutorial
is useful as well, but it's incomplete and outdated in some areas.
Personally I think the tutorial is only really useful for learning GTK
basics for people with no familiarity with the toolkit at all.  I
haven't done so yet, but you might try googling around a bit to find
information on GtkAction/GtkUIManager.

	-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFCXsmE6XyW6VEeAnsRAuynAJ0fr2ihKS7ls6Voo5RVEe6DolhCIwCfYzkm
TTib75UVouBnMB+dwcbRNSU=
=Z5Cj
-----END PGP SIGNATURE-----



More information about the Thunar-dev mailing list