Problem with GtkCellRendererCombo

2009-04-14 Thread Rudolfo Pinewood
Hello again, I have a problem with GtkCellRendererCombo, for which I did not find a solution yet. I try to use editing-started signal on that renderer to update combobox model based on current selection in my treeview. But it segfaults out when I try to receive the currently selected value fr

Maximize problem

2009-02-17 Thread Rudolfo Pinewood
Hello, it's me again. I have another problem regarding maximization. We store state + position/size of our main window via WindowPositionTracker, using these values for proper init on next application start. Now we have the problem, that our code does not work for GTK 2.12.12 on slackware for

Re: Question about Callback

2009-01-15 Thread Rudolfo Pinewood
by the to many global/static variables -- which limits the re-entrancy or reuse of any program. My two. James, On Tue, 2009-01-13 at 20:40 +0100, Rudolfo Pinewood wrote: Hi, thanks for your answer. I think I understand my code a bit better now... I wonder whether it is "best practice&

Re: Question about Callback

2009-01-15 Thread Rudolfo Pinewood
at may help explain better. http://mysite.verizon.net/ressgdw8/sitebuildercontent/sitebuilderfiles/gtkstatusicon-starter-program-0.1.0.tar.bz2 And don't forget to review 'gtk-demo', it has good examples. James, On Sun, 2009-01-11 at 12:42 +0100, Rudolfo Pinewood wrote: Hi, I hav

Re: Question about Callback

2009-01-15 Thread Rudolfo Pinewood
onment). Any help is welcome. Greetings, Christoph Hartwig On Sun, 11 Jan 2009 12:42:41 +0100 Rudolfo Pinewood wrote: > I have several togglebuttons, that are all registered to call one > specific function (ApplyFlags). In this function I actually don't know > which button was activ

Question about Callback

2009-01-11 Thread Rudolfo Pinewood
Hi, I have a question regarding Callback functions for Toggle buttons. I have several togglebuttons, that are all registered to call one specific function (ApplyFlags). In this function I actually don't know which button was activated. My attempt was giving each button/callback an additional par