Re: [gtkmm] Question to GTKmm widgets (can I do this with GTKmm?)



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

Andreas B. Thun wrote:

| Hi and a happy new year to everyone!
|
| IŽd like to have a window like the detailed
| list view in KDE Konquerer (is it QT?)
| and I wonder if there is any way to create
| a lookalike with GTKmm.
|
| You can see the screenshots here:
| http://www.imagestation.com/album/?id=4288155115&code=7722331&mode=invite
|
| Click on the image to view the window IŽd like to create....
| With "Next" you can view my GTKmm try...

It's entirely possible. The TreeView widget is the one you'll be wanting
to look at to start with. Most of the columns could be CellRendererText
columns for pure text rendering, but the first one would need both a
CellRendererPixbuf and a CellRendererText in it to get the icons.

You may find that the stock TreeView code doesn't do everything you'd
need to entirely replicate Konqueror's functionality - Nautilus, I
believe, uses some kind of TreeView-based widget with lots of extra bits
to enable it to do everything it does, but TreeView will provide you
with the basics at least. I know it doesn't sound like the right widget,
but believe me, it is. Read the Programming with Gtkmm chapters on it to
get yourself started, and look at the examples in the Gtkmm source
distribution for more info.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/9Isb0UvYjCBpIlARAiUCAJwIcNyUOtzyH9mwwivzdVd38d8uTQCfek9w
Tulu3UPoJ2C93dPprA7waiY=
=mPKM
-----END PGP SIGNATURE-----



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