GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Some problems

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
Ujjwol
Familiar Face


Joined: 26 Feb 2008
Posts: 11

PostPosted: Wed Apr 09, 2008 2:32 am    Post subject: Some problems Reply with quote

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
Back to top
Wolfgang
Familiar Face


Joined: 05 Feb 2008
Posts: 37

PostPosted: Wed Apr 09, 2008 3:55 am    Post subject: Reply with quote

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 :)
Back to top
Ujjwol
Familiar Face


Joined: 26 Feb 2008
Posts: 11

PostPosted: Thu Apr 10, 2008 12:25 am    Post subject: Reply with quote

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
Back to top
openldev
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 376
Location: State College, Pennsylvania

PostPosted: Thu Apr 10, 2008 1:13 am    Post subject: Reply with quote

GNOME system monitor uses GtkTreeView. CList is a depreciated widget and should _not_ be used in new applications.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP