Am Thu, 27 Oct 2005 16:42:59 +0200 schrieb Stefan Kost:
> Hi
> Alexander Nagel wrote:
>> Hi all,
>> i created some radiomenuitem with this.
>>
>> string tmp;
>> for (int i = 0; i<10;i++)
>> {
>> ostringstream outStream;
>> outStream << i;
>> tmp = "Gruppe " +outStream.str();
>
> c
Hi
Alexander Nagel wrote:
Hi all,
i created some radiomenuitem with this.
string tmp;
for (int i = 0; i<10;i++)
{
ostringstream outStream;
outStream << i;
tmp = "Gruppe " +outStream.str();
char tmp[10]; // length of "Gruppe xx"
for (int i = 0; i<10;i++)
{
sprintf(tmp,
Am Thu, 27 Oct 2005 15:49:21 +0200 schrieb Olivier Sessink:
> use the GINT_TO_POINTER() macro
thanks
> you get both a callback when a toggle is unset, and when it is set. So
> if you add a `if (toggle->active) ` statement in your callback you only
> handle the one that bcomes active.
thanks ag
Alexander Nagel wrote:
> 1. During compilation i get a warning about
> 'cast to pointer from integer of different size'
> for the g_signal_connect line. How can i avoid this?
use the GINT_TO_POINTER() macro
> 2. It is normal that the callback is called twice?
> For example if group 3 is marked a
Hi all,
i created some radiomenuitem with this.
string tmp;
for (int i = 0; i<10;i++)
{
ostringstream outStream;
outStream << i;
tmp = "Gruppe " +outStream.str();
Widgets_MainWindow.menugroupitems[i] =
gtk_radio_menu_item_new_with_label (Widgets_MainWindow.GroupLis