Re: Passing structure with a callback

2012-07-23 Thread David Nečas
On Tue, Jul 24, 2012 at 12:27:41AM -0600, Frank Cox wrote: > Is my understanding of how this actually works correct? Yes. Now please read my reply to your first e-mail... > If so, what is the > recommended way to deal with structures like this? ...that already answered this too. https://mail.g

Re: Passing structure with a callback

2012-07-23 Thread Frank Cox
It occurs to me that the problem here may be that all roads lead to gtk_main(). If my current theory is correct, then by creating the emailshare structure in the MainMenu function that structure is not available in main(), and hence is not being passed to the Clear function when the clear icon is

g_value_set_instance -- how to use?

2012-07-23 Thread James Tappin
There is very little documentation that I can find explaining how g_value_set_instance is supposed to work. Is the following anywhere near correct? void my_gvalue_setter( const GValue *gv, gpointer val, Gtype type) {

vbc.tgz and dD.c == voptions.c enclosed.

2012-07-23 Thread Gary Kline
Folks, Attached in my vbc.tgz tarball; this is my working VBC program. As-is, it works/installs only with /home/kline/.VBC; then runs when you type make. make builds ./vbc. Typing /home/kline/.VBC/vbc brings up the application. Mouse-clicking on

How would one go about creating a GTK3 Application (using the new fancy Application framework) in Gtkmm?

2012-07-23 Thread Filip Lamparski
Hello, I was wondering how would one go about doing such thing. The wrappers are mostly there, but it's the methodology that interests me. I know that in Gtkmm3 the main loop is being phased out in favour of Gtk::Application, but how should I go about using the framework it provides? I'd like to

Vertical alignment of the Check/Radio bit w.r.t. labels/content

2012-07-23 Thread Dmitrijs Ledkovs
I am using a checkbox/radio button and I either have custom content or multiline label next to it. How do I set vertical alignment of the checkbox/radio bit with respect to the label/content? So in the example python-gi code given, I'd like to make checkbox square to be aligned with the first row