Gtkmm-forge digest, Vol 1 #921 - 4 msgs

2005-05-04 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 th

Added tooltip to display details of items in TreeView

2005-05-04 Thread Tony Yum
Dear all, I have just started using gtkmm and forgive me if the question might be a bit silly. But I don't seemed to be able to add tooltip to treeview items. i.e. I wish to display detail of the items in the treeview when I hover hover it. The tooltip object sets the text for the entire treevi

Re: Re:ustring to char*

2005-05-04 Thread Murray Cumming
On Wed, 2005-05-04 at 20:30 +0300, Erdem Gokhan YILMAZ wrote: > Hi, > > you may use the "msgEntry.get_text().c_str()" directly as a paramter > for your function as given below. > But I also recommend allocating space, as mentioned in the previous > reply, Since I am not sure about the scope of

Re:ustring to char*

2005-05-04 Thread Erdem Gokhan YILMAZ
Hi, you may use the "msgEntry.get_text().c_str()" directly as a paramter for your function as given below. But I also recommend allocating space, as mentioned in the previous reply, Since I am not sure about the scope of the ustring returned by "msgEntry.get_text()" rfcomm_write(mc3t_bt_dev,

Re: ustring to char*

2005-05-04 Thread Bob Caryl
[EMAIL PROTECTED] wrote: hi all, i have a question i want to use the data of the Gtkmm::entry. I know this data is ustring but i want it in char* so my API can use it. the following code i already tried. termBox.insertLine(0, "MESG: ", msgEntry.get_text()); string str = ("msg;dftxt;" + msgEntry.get

Re: [gtkmm] testpopup does not work

2005-05-04 Thread Murray Cumming
On Fri, 2005-04-29 at 18:24 -0700, dzho002 wrote: > Hi, > > I upgraded to gtkmm-2.6.1 recently (gtk+-2.6.7). I > found the testpopup program in the > "cellrenderercustom" example does not work, i.e., the > drop-down list does not pop up. > (cellrendererpopup.cc). Does this happen to you? Ther

Re: ustring to char*

2005-05-04 Thread Lars Luthman
On Wed, 2005-05-04 at 16:30 +0200, [EMAIL PROTECTED] wrote: > I also tried: > termBox.insertLine(1, "QSTN: ", msgEntry.get_text()); > char* str; > strcpy(str, msgEntry.get_text().c_str()); > rfcomm_write(mc3t_bt_dev, str); > It will compile but when i want to use it it wil generate the following e

ustring to char*

2005-05-04 Thread remco . cats
hi all, i have a question i want to use the data of the Gtkmm::entry. I know this data is ustring but i want it in char* so my API can use it. the following code i already tried. termBox.insertLine(0, "MESG: ", msgEntry.get_text()); string str = ("msg;dftxt;" + msgEntry.get_text().raw()); cout <

Eventbox for toolbuttons

2005-05-04 Thread jimenezr
Hello I'm trying to change a toolbutton which should be diffent than other toolbutton. After trying to change the style with no sucess, I'm trying to use an eventbox,adding the toolbutton on the eventbox and change the color of the eventbox. My working code without eventbox is simple like: tool

Re: problem with custom menu

2005-05-04 Thread Murray Cumming
On Sun, 2005-04-24 at 23:33 -0600, John Taber wrote: > I finally figured this out - the former menu append methods have been > deprecated in the gtk api, replaced by using the attach and the submenu > methods. I'm willing to do a brief how-to writeup on this but where or what > format should th