pointer of functions - what a confusing things :-)

2006-03-09 Thread thom_schu
Hi, since I was not able to get the Gtk::TreeView working under Windows (linker error), I decided to write my own Wrapper for a Gtk+-TreeView-Object. The Event-Handling of my new class MyTreeView should work just like the Event-Handling under Gtkmm. Now I do it like this. MyTreeView::MyTreeView()

Re: connect().ing to a clickable treeview header

2006-03-09 Thread Bob Caryl
Doug McLain wrote: I've got a single column treeview with the header set to clickable via: TreeViewColumn* col = tview-get_column (0); col-set_clickable (true); I use tview-signal_button_release_event().connect() to handle selections to the treeview, but I also want to add some custom

Re: pointer of functions - what a confusing things :-)

2006-03-09 Thread Bob Caryl
[EMAIL PROTECTED] wrote: Hi, since I was not able to get the Gtk::TreeView working under Windows (linker error), I decided to write my own Wrapper for a Gtk+-TreeView-Object. The Event-Handling of my new class MyTreeView should work just like the Event-Handling under Gtkmm. Now I do it like

Re: pointer of functions - what a confusing things :-)

2006-03-09 Thread Michael Ekstrand
On Thu, 09 Mar 2006 08:27:51 -0600 Bob Caryl [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: The method on_row_activated is not a member-function, and this I think is very dirty - but I didnt find a way to give the CALLBACK() a member-function. Isnt there a way to do it like this :

Re: pointer of functions - what a confusing things :-)

2006-03-09 Thread Paul Davis
On Thu, 2006-03-09 at 08:46 -0600, Michael Ekstrand wrote: On Thu, 09 Mar 2006 08:27:51 -0600 Bob Caryl [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: The method on_row_activated is not a member-function, and this I think is very dirty - but I didnt find a way to give the CALLBACK() a

Fwd: pointer of functions - what a confusing things :-)

2006-03-09 Thread Jonathon Jongsma
sorry, forgot to copy this message to this list -- Forwarded message -- From: Jonathon Jongsma [EMAIL PROTECTED] Date: Mar 9, 2006 8:01 AM Subject: Re: pointer of functions - what a confusing things :-) To: [EMAIL PROTECTED] [EMAIL PROTECTED] On 3/9/06, [EMAIL PROTECTED] [EMAIL

Re: pointer of functions - what a confusing things :-)

2006-03-09 Thread Armin Burgmeier
since I was not able to get the Gtk::TreeView working under Windows (linker error) I guess you already know that you need to pass -Wl,--enable-runtime-pseudo-reloc to the linker to avoid this? I already heard some people complaining that this causes their applications to crash. I wonder if it

Re: Fwd: pointer of functions - what a confusing things :-)

2006-03-09 Thread thom_schu
--- Ursprüngliche Nachricht --- Von: Jonathon Jongsma [EMAIL PROTECTED] An: gtkmm-list@gnome.org gtkmm-list@gnome.org Betreff: Fwd: pointer of functions - what a confusing things :-) Datum: Thu, 9 Mar 2006 09:24:12 -0600 sorry, forgot to copy this message to this list --

checking for bug before filing report

2006-03-09 Thread Paul Davis
has anybody successfully used Gtk::CellRendererText::signal_edited() ? i just tried to hook up a handler to it, only to find that it was never called. i reverted to connecting to the C/GObject level signal, and that worked just fine. i did an eyeball of the code, and could see nothing obviously

How to use GtkComboBox

2006-03-09 Thread Nathan Hüsken
Hello dear Mailinglist-members, I looked in the documentation, but it did not help. I do not understand the interface of Gtk::ComboBox. How do I add text? How do I find out what text is selected? Thanks for any hint :) Nathan ___ gtkmm-list

Re: How to use GtkComboBox

2006-03-09 Thread John C. Spray
On Thu, 2006-03-09 at 22:55 +0100, Nathan Hüsken wrote: I looked in the documentation, but it did not help. I do not understand the interface of Gtk::ComboBox. How do I add text? How do I find out what text is selected? The ComboBox uses the powerful but complicated storage classes that the

Re: How to use GtkComboBox

2006-03-09 Thread Francis BACQUE
Nathan Hüsken wrote: I looked in the documentation, but it did not help. I do not understand the interface of Gtk::ComboBox. How do I add text? How do I find out what text is selected? Consider Gtk::ComboBoxText:

Re: checking for bug before filing report

2006-03-09 Thread Paul Davis
On Thu, 2006-03-09 at 20:57 +0100, Murray Cumming wrote: I suspect that the error is in your code. it was although i have no idea what the error was :) (or maybe :( ... next question: i've googled for this but can't find an answer. do you happen to know any way to do the equivalent of:

iter treeview / Windows crash

2006-03-09 Thread Luis Carlos Junges
Hello, When i compile the gtkmm application for Windows and select an iter inside treeview it crash. This problem do not appear on GNU/Linux. I have read that this is a bug, but i am not sure how to fix it. Any help??? Luís Carlos Dill Junges © Yahoo! Acesso Grátis Internet rápida

Gtkmm-forge digest, Vol 1 #1078 - 6 msgs

2006-03-09 Thread gtkmm-forge-request
Send Gtkmm-forge mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtkmm-forge or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach

Re: checking for bug before filing report

2006-03-09 Thread Murray Cumming
On Thu, 2006-03-09 at 17:08 -0500, Paul Davis wrote: do you happen to know any way to do the equivalent of: entry.select (0, -1); entry.grab_focus (); for an CellRendererText? i am adding a new item to a treeview and i'd like to set up the focus + selection for instant

Re: How to use GtkComboBox

2006-03-09 Thread Murray Cumming
On Thu, 2006-03-09 at 22:55 +0100, Nathan Hüsken wrote: Hello dear Mailinglist-members, I looked in the documentation, but it did not help. I do not understand the interface of Gtk::ComboBox. http://gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch09.html How do I add text? How do I find