The Widget that Won't Die

2001-12-19 Thread Kyle Wheeler
Hello, I'm having some trouble with a GtkWindow widget - specifically, I can't kill it! I have a global GtkWidget *confirm; variable, which I create the usual way (confirm = create_confirm();). I fill it with stuff, I attach signals to a few buttons in it, and then I call: gtk_widget_hide(conf

GTK Perl -- treasures from the attic

2001-12-19 Thread Scott Bronson
Hi, guys. I was cleaning out an old hard drive the other day and ran across a project that I started and stopped in late 1999. I meant to tell this list but I guess I got temporarially distracted for two years... I really didn't like the design of the Gnome-Perl bindings, so I wrote these to pr

Re: Can I mix Xlib and Gtk+ in one app?

2001-12-19 Thread Paul Davis
>I'm interested in this topic too. It would be nice to write some modules >which aren't specified as gtk widgets or other gtk objects. Assume you >write an application with a proprietary internet protocol. You surely want >to open this protocol to any toolkit. So we need a mixed event handling, >o

Gtk+ starting drags by error

2001-12-19 Thread Edscott Wilson GarcĂ­a
Yesterday I chased a bug for several hours but could not find a workaround. I dug into the mail list archives but could not find anything related. It occurs with a program called xftree, which is a program with a CTree for dragging and dropping files for moving and copying. Binaries and sources

GtkSignalFunc issues

2001-12-19 Thread Adam Tee
Hi all, I am the maintainer of GNU Denemo and have a question about using GtkSignalFunc's in the program we have the following code for making sure that a changed file is destroyed without the users knowledge. The confirmbox function is called using the following confirmbox ((struct scoreinfo

Re: Problem with callback functions...

2001-12-19 Thread John . Cupitt
James Vanns wrote: > Okay. I have a function called create_toogle_window (). Within this function > I have a few GtkWidgets initiated as GtkToggleButtons (3 of) and then one OK > button. > > I have also a struct defined as within a header file: > > typedef struct _options { >gboolean bss; >

Re: Can I mix Xlib and Gtk+ in one app?

2001-12-19 Thread John . Cupitt
I'm writing an app using xlib, but I need some buttons and menus. I've done this a little. It's dangerous, unsupported and will probably break if gtk/gdk changes much, but it does sort-of work. - to keep gtk happy, you must do this several times a second: while( g_main_iteration( FA