Forcing a "toggle" event to be emitted

2011-01-26 Thread Jim George
Hi all, I have a program in which I call gtk_toggle_button_set_active to enable a check box based on a previously set variable when a dialog box is created. I've set up a "toggled" event handler that will print out a message to console. The docs state that gtk_toggle_button_set_active will always e

Re: Question about modal dialog in gtk application

2010-04-11 Thread Jim George
You can use gtk_widget_show to bring up your dialog, and then use gtk_set_transient_for to mark it "modal to only one window", to get behavior similar to firefox. -Jim On Sun, Apr 11, 2010 at 10:36 AM, silverburgh wrote: > On Sun, Apr 11, 2010 at 11:04 AM, Nicola Fontana wrote: >> Il giorno Sun,

Re: Crash processing g_object_new arguments

2009-11-09 Thread Jim George
I've never come across this problem since I've never used any headers that re-define NULL, nor have I used gobject with C++, but it seems like enough of a "gotcha" that it might make sense to define another constant (G_ARG_TERM?) that always maps to (void *) and use that with all the glib functions

Re: How to forbid people to change GtkCheckButton's status manually?

2009-08-26 Thread Jim George
I use a GtkImage, and choose among GTK_STOCK_YES and GTK_STOCK_NO. At least for all the themes I've tried it with, it either shows a green/red ball, a check/cross or some variation, but imo, it gets the message across. 2009/8/26 David Nečas : > On Wed, Aug 26, 2009 at 01:07:33PM -0400, Boggess Rod

Re: Copying widgets

2009-07-12 Thread Jim George
On Sun, Jul 12, 2009 at 3:46 PM, Tristan Van Berkom wrote: > On Sun, Jul 12, 2009 at 3:27 PM, Jim George wrote: >> Hi all, >> I'm writing a program that, like gimp, has a control window, from >> which users can open one or more viewer windows that present different >&g

Copying widgets

2009-07-12 Thread Jim George
Hi all, I'm writing a program that, like gimp, has a control window, from which users can open one or more viewer windows that present different aspects of a data set (it's a weather radar display program). The sub-windows are identical, and I'm using libglade and glade-3 to do the interface layout

Bringing a GtkWindow to the current desktop with libwnck

2009-07-02 Thread Jim George
Hi all, I'm writing a program that needs to be "single-instance". The program will only run on gnome desktop machines. I'm using dbus to ensure this, by having the program try a dbus rpc each time it starts. If there's a running instance, it responds to the rpc by calling gtk_window_present on the

Re: Continuous variable updation in a text box

2009-03-10 Thread Jim George
It wouldn't matter too much, since most screens would only have a refresh rate of 60-120 Hz, which is also much higher than what most people can even see. I've handled such cases by using g_idle_add when I get an update of the variable's status, and have the idle function update the text box.

Re: How to realize a battery-indicator with a trayicon? How to show the current capacity

2008-11-16 Thread Jim George
2008/11/16 Rorschach <[EMAIL PROTECTED]>: > Hi, > I wanna write a little battery-indicator in C with GTK. It's already working > nicly in the console and I know how to write a trayicon with gtk but what I > don't know is: how can I show the current capacity of the battery? I mean > shall I do 10

How to tell the difference between a minimize and a switch desktop?

2008-10-27 Thread Jim George
Hi All, I'm trying to write a program that will minimize to a tray icon. I do this by writing a handler for the "window-state-event", and checking the "changed mask" and "new window state" for the GDK_WINDOW_STATE_ICONIFIED flag. It all works well, and I also add a handler for the "activate" callba

Re: Finding a widget in a Glade interface

2008-07-30 Thread Jim George
> I should have mentioned that by time I want to call >> glade_xml_get_widget() the GladeXML *xml created by xml = >> glade_xml_new("filename.glade", NULL, NULL); is out of scope. If I call >> open the file again to get the widget it has no affect on the running >> window. I need to get the widg

Re: Problem writing pixels to GdkPixbuf data buffer

2008-07-15 Thread Jim George
2008/7/15 Luka Napotnik <[EMAIL PROTECTED]>: > Hello. > > I encounter a strange problem when I'm writing image data to the > GdkPixbuf data buffer. > > I create an empty pixbuf and get the data buffer. Then I use: > > pixel = pixbuf_data + i * n_channels > > , where pixel is a pointer to the pixel,

Re: Going fullscreen and back

2008-04-27 Thread Jim George
Why not use gtk_window_fullscreen? I've only tried it on a Gnome desktop, it works well. On Sun, Apr 27, 2008 at 11:37 AM, Carlos Pereira <[EMAIL PROTECTED]> wrote: > Hi there, > > The small working code below shows > how my app goes fullscreen and back. > > 1) Is there a better way of doing th

Re: newbie doubt with gtktutorial

2008-01-19 Thread Jim George
On Jan 20, 2008 12:35 AM, dev new <[EMAIL PROTECTED]> wrote: > hi > i am trying out the gtk tutorial with gcc (cygwin on winXP) and wanted > to run the first example in gtktutorial (to show blank window)..i > copied the code and compiled it with > gcc base.c -o base `pkg-config --cflags --libs gtk+

Re: IP address entry widget

2008-01-06 Thread Jim George
On Jan 6, 2008 7:13 PM, Bin Chen <[EMAIL PROTECTED]> wrote: > Hi, > > Is there any type of IP address entry widget existed? I want to let > user input the IP address in dot form, and strict their input to > 0-255. > Use a GtkEntry widget with a handler for "changed", validate input there.

Re: How to use GList Double Link List

2007-12-25 Thread Jim George
On Dec 25, 2007 9:50 PM, sumit kumar <[EMAIL PROTECTED]> wrote: > Hi All, > I am trying to use GLib double link list in my application.But I have a > problem. I run the GList sample program from Gtk+-2.0 FAQ:- > *snip* > > *gint pos; > g_print("Enter Number1\n"); > scanf("%d",&pos); > list = g_list

Re: how to destroy window if ptr to mainWindow not known

2007-12-06 Thread Jim George
On Dec 6, 2007 4:46 AM, Lukasz Gromotowicz <[EMAIL PROTECTED]> wrote: > Hi all, > > the problem is when loading windows from the xml file: > > glade_xml = glade_xml_new("ami.glade",NULL,NULL); > > I need to know the reference to main window (GtkWindow) to be able to > destroy it, yes? > I can

Re: Question about the "realize" signal

2007-12-04 Thread Jim George
On Dec 4, 2007 3:06 AM, Dan H <[EMAIL PROTECTED]> wrote: > Hello, > > I like to build my GUIs with Glade, but as Glade is quite limited in what it > can do I usually write routines that "finalize" the GUI after the Glade stuff > has been set up. For example, in a current project I have a table wh

Re: how to set widget background?

2007-12-03 Thread Jim George
On Dec 3, 2007 3:57 AM, Guenther Meyer <[EMAIL PROTECTED]> wrote: > hi, > > I have a hbox that looks like this: > > - > | || > | | | > | | | > | || > ---

Re: Change the mouse pointer to sandglass

2007-09-20 Thread Jim George
> I want change to mouse pointer to sandglass to indicate the system is > busy, how can i do it? I use functions like this: void set_wait_cursor(GtkWidget *w) { GtkWidget *parent; GdkCursor* cursor; parent = gtk_widget_get_toplevel(w); if (parent != NULL) {

Re: Newbie Question: Changing a Label

2007-09-11 Thread Jim George
On 9/11/07, Brian Hartman <[EMAIL PROTECTED]> wrote: > Hi Everyone. > > I'm trying to write a simple program that changes a label when a button is > clicked. The program compiles and runs, but there's no label change. > Here's what I have in my callbacks.c: > > #ifdef HAVE_CONFIG_H > # include >

Re: is there a memory leak problem with gtk_widget_queue_draw()?

2007-09-07 Thread Jim George
On 9/6/07, okty <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using GLib's memory profiling to check memory usage of my program. I > noticed that for each refresh in my screen with gtk_widget_queue_draw(), I > am checking my allocated memory and each refresh increases the size of > allocated memory.

Re: Display grayscale image

2007-08-30 Thread Jim George
On 8/30/07, Marco Brambilla <[EMAIL PROTECTED]> wrote: > Hello everybody, > > Firs of all I'm a newbye both to GTK and to this mailing list, so I apologize > for the triviality of the post. > I'm writing a very simple application (language: C) which should grab frames > from a ccd camera and show

Differences of GIOChannel between Linux and win32

2007-08-29 Thread Jim George
I have a question about the cross-platform compatibility of GIOChannels, between win32 (using mingw32) and Linux, when using pipes. I am using g_spawn_async_with_pipes to spawn a series of programs that do some processing and deliver results. Specifically, I'm using the Generic Mapping Tools (GMT).

Re: alpha channel with Gdk/Gtk+ color

2007-08-27 Thread Jim George
Not sure how you'd do this in gdk directly, but I can think of two alternatives: a. Use Cairo (supports alpha channels, and gives you awesome-looking antialiased triangles to boot) b. Use gdk to render to 30 different GdkPixbufs, then composite them together. The composite functions take an alpha p

Re: GtkDialog problems again

2007-08-27 Thread Jim George
On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi everybody. > I need a dialog in my application that simply show a label (so without any > button) and then hide itself after some processing occurred. > The problem is that I can't send any :response signal to the dialog, so it > remains

Re: Re: How to communicate between two GtkWindow widgets?

2007-08-23 Thread Jim George
On 8/23/07, 张散集 <[EMAIL PROTECTED]> wrote: > > > Hi Jim, > > Thanks for your reply. There is a figure. > > Well, on the picture above, win_A is the main GtkWindow, win_B is a child > GtkWindow. > When I click the button on win_B I want to change the label_A's text. > That's it. If know how to d

Re: How to communicate between two GtkWindow widgets?

2007-08-23 Thread Jim George
> But, I wonder how can I communicate between two GtkWindow widgets. Can you describe what you're trying to do? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Libglade resource consuming question.

2007-08-09 Thread Jim George
On 8/9/07, Carlos Savoretti <[EMAIL PROTECTED]> wrote: > Hi all! > > > Several objects within a program has a Xml buffer taken from > xmlDocDumpFormatMemory (), one for each of them. Only one of > those objects will be displayed at a time. > > Question is: > Is it saved a "lot a memory" if I just k

Re: dynamic combo entry

2007-08-07 Thread Jim George
On 8/7/07, Dave Howorth <[EMAIL PROTECTED]> wrote: > Jim George wrote: > > It may not be exactly what you want, but gtk_entry_set_completion might > > help. > > It looks interesting. I've found the page in the reference manual and it > says lots of things t

Re: dynamic combo entry

2007-08-07 Thread Jim George
On 8/7/07, Dave Howorth <[EMAIL PROTECTED]> wrote: > Users need to choose from a very long list of possibilities (approx half > million). > > A neat interface that I saw for this (in Javascript IIRC) is to have a > combo box entry. As the user types the beginning of the name, the combo > box displa

Re: How to set "signal_data" via Glade for glade_xml_signal_autoconnect_full

2007-07-20 Thread Jim George
> I'm trying to understand using Glade + libglade to build UIs. As I > understand it, if I use the glade_xml_signal_autoconnect_full call, my > signal connect function will be called for every defined signal in the XML > tree I am processing. > > One of the parameters passed to my connect functions

Re: waveform display in gtk

2007-07-11 Thread Jim George
On 7/11/07, bert <[EMAIL PROTECTED]> wrote: > Hi all, > > Is there a GTK widget to display audio or signal waveforms? > > If not, is there a related project in which such a widget is available? If you needed to display relatively short signals (a few seconds), something like GtkDatabox would work.

Re: shifting focus between multiple text entries.

2007-07-03 Thread Jim George
On 7/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi all, > i am working on an embeded application over the TI OMAP 2430 SDP > and new to GTK. > > i have a window with multiple text entries over it. > > In my application since we dont have a keboard but only a keypad over the > targ

Re: Getting a GDK_CONFIGURE event from a GtkImage

2007-06-26 Thread Jim George
> I do not follow this thread, but can't you just compare the > new allocation to the current one and do nothing when they > are equal? That doesn't work, they seem to always be equal. I'm comparing the allocation being passed to the alloc-event handler in the second parameter and the allocation o

Re: Getting a GDK_CONFIGURE event from a GtkImage

2007-06-26 Thread Jim George
On 6/26/07, Jim George <[EMAIL PROTECTED]> wrote: > > >[...] caused an infinite loop, because I'm trying to > > >do the following: > > > > > >gboolean solar_cal_pixbuf_resize(GtkWidget *widget, GtkAllocation > > >*alloc, gpointer u

Re: Getting a GDK_CONFIGURE event from a GtkImage

2007-06-25 Thread Jim George
On 6/25/07, Brian J. Tarricone <[EMAIL PROTECTED]> wrote: > On Mon, 25 Jun 2007 15:13:30 -0600 Jim George wrote: > > >Is there some way I can obtain a GDK_CONFIGURE event from a GtkImage > >widget? I tried putting the GtkImage inside a GtkEventBox and > >connecting

Getting a GDK_CONFIGURE event from a GtkImage

2007-06-25 Thread Jim George
Is there some way I can obtain a GDK_CONFIGURE event from a GtkImage widget? I tried putting the GtkImage inside a GtkEventBox and connecting a handler to "configure-event", without success. I also manually enabled GDK_STRUCTURE_MASK, even though GTK is supposed to do that by default. I would like

Re: multi thread app and often variable accessing

2007-06-08 Thread Jim George
> Begin Curiosity: > > Also, the hardware must have something like the Pentium CMPXCHG8B [...] > Is it not > sufficient to be able to write an int in one single bus access? ie > have a 32-bit wide data bus > Or is that exactly the point? :D > No, in most cases, if you want to atomically increment o

Re: multi thread app and often variable accessing

2007-06-08 Thread Jim George
> On 6/8/07, Tomasz Jankowski <[EMAIL PROTECTED] > wrote: > > > > Hi! > > > > I'm working on small multi thread application based on Gobject. In one of > > my > > objects I have integer variable, which determine current object's status. > > The problem is, that I need to read it's status really oft

Deriving from GtkWindow and libglade

2007-06-08 Thread Jim George
I want to derive a new class from GtkWindow to represent a top-level window which contains objects from a Glade XML file. Since the glade_xml_get_widget functions returns a new object, I'm not sure what to do in the object's "init_instance" function to copy the properties (and children) of the retu

Re: Global GladeXML

2007-05-26 Thread Jim George
> Note that this is definitely not a recommended practice, GladeXML > objects should be dispensed with as soon as possible after interface > construction, its a heap of allocated strings that represents the > parsed state of the glade file; not only a practical hash table by > widget name thing. >

Re: Global GladeXML

2007-05-26 Thread Jim George
On 5/26/07, Felipe Balbi <[EMAIL PROTECTED]> wrote: > it's the glade_xml_signal_autoconnect > > I define the name in the xml file and code the same name in the C language... > > libglade does the connections :-p > > easier.. and let my code be cleaner... > You need to pass -export-dynamic to ld in

Re: Global GladeXML

2007-05-26 Thread Jim George
On 5/26/07, Felipe Balbi <[EMAIL PROTECTED]> wrote: > Hello all, > > my problem is the folowing... > I have a glade xml file being opened in my code... > > I wanna use the same pointer to this XML file in other functions... > how could I do it?? > I have the implementation below, but my signals are

Re: Accessing a GtkTable's children.

2007-04-07 Thread Jim George
On 4/7/07, Craig Pemberton <[EMAIL PROTECTED]> wrote: > I just discovered lookup_widget()! If you're using lookup_widget(), that means you're using Glade's code generation, which is going away in glade 3. Use libglade instead, especially if you're not too far into your project. -Jim __

Re: trying to launch a dialog from outside the main gui thread by emiting a signal to the thread.

2007-03-07 Thread Jim George
On 3/7/07, Kevin Lambert <[EMAIL PROTECTED]> wrote: > I ended up modifying my class such that the information for the dialog gets > added to a vector and I added a timer which looks at the vector and if there > is something new to be displayed it pops it off and launches the appropriate > dialog, t

Re: gtk-app-devel-list Digest, Vol 34, Issue 43

2007-02-28 Thread Jim George
> Thanks for the response. Could you to tell me how i can use > gdk_window_set_type_hint() and gdk_window_set_decorations() calls for gtk > widow. Is it going to affect behavior of gtk window? see http://developer.gnome.org/doc/API/2.0/gdk/gdk-Windows.html and http://developer.gnome.org/doc/API/

Re: gtk-app-devel-list Digest, Vol 34, Issue 43

2007-02-27 Thread Jim George
On 2/27/07, Saroz Kumar <[EMAIL PROTECTED]> wrote: > Hi All, > > I need to disable minimize, close options on top - right side of the window. > I already built the window with gtk_window_new() call. Is it possible to do > the reqd. changes? > Note: i cannot remove that frame in the window. AFAIK, t

Re: A few drawing questions

2007-02-20 Thread Jim George
Correct me if I'm wrong, but if you're using GDK, I think you should use pixmaps instead of GdkPixBufs. The docs say that pixbufs are client-side, while pixmaps are server side, so redrawing a pixbuf will be more expensive. I also take this to mean that it's possible for an X server to store a pixm

Re: libglade frustration

2007-02-14 Thread Jim George
> So you want to know how to use it and you intentionally > avoid one of the most efficient ways to learn it. Well, if > it works for you... What is so inefficient about taking an example (that already exists) and including it in the HTML/online documentation that more people read than source cod

Re: gtk_widget_size_request v. reality

2007-01-18 Thread Jim George
On 1/18/07, v4r4n <[EMAIL PROTECTED]> wrote: > It appears that the 'size-request' signal only happens once, and is not > called when the user resizes the window. I couldn't find a 'resize' signal > definition so I'm not sure what other signals I need to set up for this to > happen all the time. S

GtkDrawingArea mouse events

2007-01-17 Thread Jim George
My program has a GtkDrawingArea in a resizable window. The drawing area needs a 2D array of integers, sized so that there is 1 integer per pixel. When the user moves his mouse over the DrawingArea, I want the program status bar to show the value from the array corresponding to the pixel under the m

Re: cannot set tooltips over a picker widget?

2007-01-15 Thread Jim George
> If you know how to make it work automatically for > GTK_NO_WINDOW widgets... I read that GtkLabel widgets don't have backing windows, for performance reasons. I haven't read any such comment about, say, GtkComboBoxEntry widgets. Maybe the documentation needs to be updated? I, for one, would like

Re: move cursor with keyboard in a window

2007-01-15 Thread Jim George
> I have the impression that you don't want to use the X cursor (that is, > the "mouse cursor") for that. You rather want to draw your own cursor > and jump with that from point to point. > > Depending on what kind of widget you have maybe it provides that > functionality (i.e. drawing a temporary

Re: cannot set tooltips over a picker widget?

2007-01-14 Thread Jim George
On 1/14/07, Francesco Montorsi <[EMAIL PROTECTED]> wrote: > GTK+ 2.10.3 > > > Hi, > I'm trying to set a tooltip on a GtkFileChooserButton widget without > success... maybe it's simply not possible? > > I've done a minimal change to the attached pickers.c file of the > "gtk-demo" app in order to

GtkFileChooser and select() interaction

2006-12-31 Thread Jim George
I have an app with two threads, one runs the GUI, one receives network data and uses a select() call to watch for data. The network thread does not touch the GUI at all. My problem is that when I create a dialog box with a GtkFileChooser in it, the select function returns several times with errno =

Re: g_array_new problem with initializer element

2006-12-24 Thread Jim George
> GtkTreeView. However, the following line gives an error: > > GArray *serverlist = g_array_new(TRUE, FALSE, sizeof(gchar)); > > The error is: > > main.c:58: error: initializer element is not constant This should work. Check that you don't have errors in the lines previous to this in your program

Re: A question about deprecated widget

2006-12-18 Thread Jim George
> Actually, that feature is not that important to me, the important part > is that scrolled window, instead of that long ugly thing that a really > long list turns GTK_COMBO_BOX into. I agree that the combo box does look ugly when there are too many elements, but the solution, to me, seems to be t

Re: gtk_widget_size_request v. reality

2006-12-13 Thread Jim George
> How do I force a parent to tell the child how much space will be available > to the child at this time? Is it even possible? Do I really have to call > gtk_widget_set_size_request()/gtk_widget_size_request() on every parent so > that the children have something to work with? Use an alignment a

Re: A question about threads

2006-12-11 Thread Jim George
If you use the threads approach and want to make your app portable to other platforms, you should use the g_thread library. pthreads will only work under Linux. The biggest problem of using threads is that the secondary threads must not try to directly update the GUI, unless you use g_threads_enter

Re: Scientific widgets

2006-11-29 Thread Jim George
On 11/29/06, Mark Richardson <[EMAIL PROTECTED]> wrote: > What was that library that someone was developing for scientific widgets? > They were things like analog indicators (or dials), an led, etc. I thought I > saved the link, but can't find it now. http://www.tesla.eletrica.ufpr.br/giw I'm

Re: Suppressing command window

2006-11-27 Thread Jim George
> I tried using getenv() and putenv(), but it is not working as expected. That would be the right way. Could you give some more details on why it doesn't work? Or how it fails? Does setenv return -1? What is errno set to? > I've packaged the application along with the required GTK dlls in a zip f

Re: run a new application

2006-11-24 Thread Jim George
> cmd.exe is surprisingly more powerful than a lot of people realize > though I still personally abhor it. > -jkl > May be so, but you can't do things that you take for granted in Unix, like running multiple commands in sequence with a semicolon. And, as far as I know, the "system" function in mo

Re: run a new application

2006-11-23 Thread Jim George
> shell to run the commandline specified. I'm not sure the behavior on > Windows, but I imagine it probably uses the windows shell to execute the > command line. There is no shell in Windows, and there is no argument parsing of the command line, AFAIK _

Re: How to set application icon

2006-11-23 Thread Jim George
Here's how I make it work (not sure if this is the "right" way): int register_stock_icon(GtkIconFactory *icon_factory, const char *name, const char *filename) { GdkPixbuf *pixbuf; gchar *pathname; GError *error = NULL; pathname = g_strdup_printf("%s%s%s", PACKAGE_PIXMA

Re: Accompany index of deprecated symbols with GTK+ version?

2006-11-13 Thread Jim George
> However, I learned that for quite a number of methods it is > a good idea to drop the deprecated ones and instead > use the replacements (less buggy, better UI, better source code > readability, less source code, better performance). > Usually it should indeed make sense, because otherwise there

Re: Problem with gsignal connect

2006-11-12 Thread Jim George
On 11/12/06, Naveen Kumar <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I am using GTK+-2.2.0 to develop my application in that i am using 5 > entries.. and 2 spin buttons and i have 1 button. When i click the button i > nned to access all the data of entries and spin buttons to some variabl

Glade-2's "Object" field

2006-11-12 Thread Jim George
What is the function of Glade-2's "Object" field in the signals tab in the properties browser? I initially thought if you put in a variable name here, it's used in the user parameter passed to the signal handler. I'm not sure, though, if I need some other magic incantation on gcc's command line (li

Re: canvas, cairo and/or pixbufs? (was Re: Application Approach)

2006-11-05 Thread Jim George
I suppose one problem with the Pixbuf approach is that a Pixbuf is not a drawable (unlike a Pixmap), so you either need to come up with your own drawing routines for lines and such, or draw onto a Pixmap and use gdk_pixbuf_get_from_drawable. If there's a better way, do let me know (it's one area wh

Re: Passing custom parameters

2006-09-28 Thread Jim George
On 9/28/06, Sumedh <[EMAIL PROTECTED]> wrote: > > Gtk - C > > how to pass multiple arguments to a function from a widget. eg i have > two text entry widgets > > and one button. What i want to do is that when i click the button i > should be able to > > print(terminal) the contents of both the text

Re: implementing a collapsable/expandable widget

2006-09-27 Thread Jim George
On 9/27/06, Reed Hedges <[EMAIL PROTECTED]> wrote: > Neil Roberts wrote: > > On Tue, Sep 26, 2006 at 05:33:07PM +0200, Michael 'Mickey' Lauer wrote: > > > >> Hi, for one project I need to implement a widget container that can > >> be collapsed/expanded to show its containment. > > > > Have you look

Re: Image missdisplayed using GdkPixmap

2006-09-24 Thread Jim George
On 9/24/06, Sebastien Roy <[EMAIL PROTECTED]> wrote: > Image is not well written ... > lines seems to be mixed ... Alignement is incorrect .. > I suppose this is due to a wrong usage of dithering/depth parameters ... > data is pointing to a rgb buffer ... > the same call was working fine when writi

GtkMenu doesn't recognize it's parents?

2006-08-30 Thread Jim George
In glade, I created a window, with a vbox. In the vbox, I created a menu bar (called "menubar"), then add a menu called "help" and a menu item called "about", and set an event handler for the menu item. In the menu event handler, I have code which does the following: void on_about_cb(GtkMenuItem *