GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Tue Jul 29, 2014 2:36 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Some problems
PostPosted: Wed Apr 09, 2008 2:32 am 
Offline
Familiar Face

Joined: Tue Feb 26, 2008 2:15 am
Posts: 12
I am having some problems in application develop. Lang C

how do i add items to clist view(i tried hard saw tutorials but couldn't get it plz)??

How do i make a splash screen to display for 3 s and call the main window??

When i insert some other images to a button when compiled the program doesn't load the images why is that so?

How to get which item is being selected(after knowing to add items) and clicked and execute code???

Thanks in Advance


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 09, 2008 3:55 am 
Offline
GTK+ Guru

Joined: Tue Feb 05, 2008 8:39 am
Posts: 130
http://www.zetcode.com/tutorials/gtktutorial/

1. Use GtkTreeView instead of CList. And see tutorial.
3. Show source code.
4. Use GtkTreeSelection (gtk_tree_view_get_selection(tree_view), gtk_tree_selection_get_selected etc.). And see tutorial :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 10, 2008 12:25 am 
Offline
Familiar Face

Joined: Tue Feb 26, 2008 2:15 am
Posts: 12
Is clist view same as GtkTreeView or are different thing..

I want the view like that of Gnome system monitor using to list the processes running and activate same codes after being selected and clicked...

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 10, 2008 1:13 am 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 3:07 am
Posts: 384
Location: Fairfax, Virginia
GNOME system monitor uses GtkTreeView. CList is a depreciated widget and should _not_ be used in new applications.

_________________
Andrew Krause

Foundations of GTK+ Development: Buy now for only $31.49!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group