Re: gnome-control-center related question



On Tue, 2008-08-12 at 11:30 +0400, Vasiliy G Tolstov wrote:
> Hello! I'm new in gtk (i'm using gtkmm before).

(One of the lovely things about GTK is that it is essentially the same
in a wide variety of languages)

>  What containers i must
> use to build application like ... icons in main
> window

Icons in a Widget can be done with GtkIconView
http://library.gnome.org/devel/gtk/2.12/GtkIconView.html

> after clicking on it ... [does something]

I imagine the 'item-activate' signal will be what you need
http://library.gnome.org/devel/gtk/2.12/GtkIconView.html#GtkIconView-item-activated

What happens after that is up to you. :)

[obviously gnome-control-center is very fancy; if you read its source
code you can find out what tricks, exactly, they might have used to
achieve a given effect]

AfC
Sydney

-- 
Andrew Frederick Cowie

Operational Dynamics is an operations and engineering consultancy
focusing on IT strategy, organizational architecture, systems
review, and effective procedures for change management. We actively
carry out research and development in these areas on behalf of our
clients, and enable successful use of open source in their mission
critical enterprises, worldwide.

http://www.operationaldynamics.com/

Sydney   New York   Toronto   London

Attachment: signature.asc
Description: This is a digitally signed message part



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