GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Wed Nov 25, 2015 4:14 am

All times are UTC

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Using Bindings
PostPosted: Tue Jan 24, 2012 4:58 am 

Joined: Tue Jan 24, 2012 4:37 am
Posts: 1
Unfortunately, while the documentation for GTK+ 2 gives a description on how to configure a binding set and entry, it does not give any information on how to actually use it within the application. Could someone help me out here? I've got the binding set configured with the entry that I want, but I just can't figure out how to connect it to a widget.

EDIT: It looks like it may have already been answered here: (this link is invalid, see reply for more info [tadeboro])

But the topic appears to have been locked? Is that what had happened? If so, would it be possible to at least get that unlocked?

 Post subject: Re: Using Bindings
PostPosted: Thu Jan 26, 2012 1:19 pm 
Never Seen the Sunlight

Joined: Wed Jul 23, 2008 10:31 am
Posts: 2406
Location: Slovenia

Hmm, looks like the original author deleted all the relevant content from that topic and all that was left is admin message about some duplicated material. I'll delete that topic since it's completely useless.

As for the usage of bindings, all you need to do is write a gtkrc/CSS-like file that defines the bindings (gtkrc for GTK+-2.0, CSS-like for GTK+3.0) and place it into proper location. It's been a while since I last touched/looked at that part of GTK+ code, so cannot help you with more precise instructions.


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 3 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