GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Fri Sep 19, 2014 9:48 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: GtkIEntry
PostPosted: Fri May 04, 2007 4:31 am 
Offline

Joined: Fri May 04, 2007 4:22 am
Posts: 2
Dear all,

My name is Bommu. I newly started working with GTK. I have a doubt on, How GTKEntry works. Thta means, when from GTK entry create to, if user inputs any key how that key will be displayed in the Entry. I need brief explanation on this. Can any one help me on this.

Thanks in advance..

Narasimha Reddy Bommu :D


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 04, 2007 12:58 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 3:07 am
Posts: 384
Location: Fairfax, Virginia
First, please use the default font size. We can read your question even when it's small.

As for your question, what type of description are you looking for? If you just want to use GtkEntry, you can create a new widget with gtk_entry_new(). It will handle text entry for you. The widget's API gives information on how to retrieve the text that is in it and interact with the widget.

If you are asking how it works under the hood, I would recommend that you get a little deeper into GTK+ before you investigate that. It deals with IM contexts, layouts, exposure and realization of widgets, and a lot of more complex concepts. I can explain it if you want, but I'll refrain for now just in case that's not what you're asking.

_________________
Andrew Krause

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


Top
 Profile  
 
 Post subject: GtkImContext layout !!
PostPosted: Tue Feb 19, 2008 10:16 am 
Offline

Joined: Tue Feb 19, 2008 10:11 am
Posts: 1
Hi Guys ,

I have gone through the GtkImContext libraries in Gtk but its not much clear to me .? Could anyone put a flash on ImContexts .

I want to understand the Working of GtkEntry , i.e. How does Gtk internally handles key events when User press a character in GtkEntry Widget ? what is the layout / exposure etc .




Thanks in Advance :
Umang Gupta


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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