Begining with gtk
- From: Goran RakiÄ <gox DevBase net>
- To: glade-users lists ximian com
- Cc: gtk-app-devel-list gnome org
- Subject: Begining with gtk
- Date: Fri, 11 Apr 2003 19:09:08 +0200
Hi everybody on the list,
I am C++ developer and I worked with fltk for a long time. But i think that my
apps will look better if I start using GTK2.2. I want that my apps be
cross-platform, so I want to use just plain GTK2.2.
So i started glade and designed application UI (It is simple dictinory app for
supporting Gnome translation to Serbian, so nothing special is in it).
I made some callbacks (for word search from sqlite database and for exiting
app, but I have a problem). I planed to use something like list view with 2
columns. So i clicked on "list or tree view" control in glade-2 and put it in
container in the window. I figured that is put some treeview widget becouse i
have
...
GtkWidget *lista;
lista = gtk_tree_view_new ();
...
in my code, but i donot know what to do with it... How can I add columns,
rows, browse one column by row, add select callback that will copy cell
content to clipboard and others. Where I can find some examples and docs?
Also, what is the best way to learn GTK+ programming?
Thanx in advance,
Goran Rakic
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]