Re: Problem with glade

2005-10-14 Thread Matthias Clasen
On Fri, 2005-10-14 at 14:27 -0400, Brian Clark wrote: > > (a.out:5100): libglade-WARNING **: could not find signal handler > > 'on_bok_clicked'. > > > > (a.out:5100): libglade-WARNING **: could not find signal handler > > 'on_wgtelnet_destroy'. > > The symbols for the functions are not being expor

Re: Problem with glade

2005-10-14 Thread Brian Clark
> (a.out:5100): libglade-WARNING **: could not find signal handler > 'on_bok_clicked'. > > (a.out:5100): libglade-WARNING **: could not find signal handler > 'on_wgtelnet_destroy'. The symbols for the functions are not being exported in the executable, so glade_xml_signal_autoconnect is not able t

Re: Problem with glade

2005-10-14 Thread Roger Leigh
Uzytkownik <[EMAIL PROTECTED]> writes: > $ gcc main.c `pkg-config libglade-2.0 --cflags --libs` > $ ./a.out > (a.out:5100): libglade-WARNING **: could not find signal handler > 'on_bok_clicked'. > > (a.out:5100): libglade-WARNING **: could not find signal handler > 'on_wgtelnet_destroy'. > > What

Re: how to "dynamically unload" interfaces with libglade

2005-10-14 Thread Roger Leigh
Yiannis <[EMAIL PROTECTED]> writes: > GladeXML *Xml1, *Xml2; > Xml1 = glade_xml_new("foo.glade", NULL, NULL); > Xml2 = glade_xml_new("bar.glade", NULL, NULL); > > At some point I want to destroy and unreference Xml2... What is the > "proper" way to do so? Using g_object_unref?? Yes. For example,

gtktreeview - hide some rows

2005-10-14 Thread HuamiSoft Hubert Sokolowski
Hi! I have a treeview which is a list. is it possible to hide some particular rows? I want to implement some filter on my treeview, so the user could find quicker some rows. regards -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. 501456743 _

Re: is there an equivalent of sscanf that uses GString as arguments?

2005-10-14 Thread Yiannis
On 14/10/05, Tim Müller <[EMAIL PROTECTED]> wrote: > On Fri, 2005-10-14 at 18:11 +0100, Yiannis wrote: > > > is there an equivalent of sscanf that uses GString as arguments? > > You could just do > > sscanf (gstring->str, "%04u-%02u-%02u", ..); Cheers but let me clarify that... I was wondering

is there an equivalent of sscanf that uses GString as arguments?

2005-10-14 Thread Yiannis
Hi, is there an equivalent of sscanf that uses GString as arguments? -- -- Yiannis ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Problem with glade

2005-10-14 Thread Uzytkownik
#include void on_wgtelnet_destroy(GtkWidget *widget, gpointer user_data) { g_print("Dowidzenia"); gtk_main_quit(); } void on_bok_clicked(GtkWidget *widget, gpointer user_data) { gtk_main_quit(); } int main(int argc, char **argv) { GladeXML *xml; gtk_init

RE: synthesize-key-press-event

2005-10-14 Thread Boncek, John
Marc Santhoff was nice enough to send me the referenced example off-forum (where attachments work). I compiled and ran it successfully. Thanks a lot, Marc! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boncek, John Sent: Thursday, October 13, 2005 1:47

Re: Implementing "cpio -tv < file.cpio" with glib routines

2005-10-14 Thread Olivier Sessink
Colossus wrote: > Hi, > > How can I code with g_spawn_* glib routines the command in the subject > line ? Alternatively I noticed that > > "cat file.cpio | cpio -tv" also works but how to implement also this > with g_spawn family ? 1) spawn 'cpio -tv' with a pipe in and a pipe out 2) create non-

Implementing "cpio -tv < file.cpio" with glib routines

2005-10-14 Thread Colossus
Hi, How can I code with g_spawn_* glib routines the command in the subject line ? Alternatively I noticed that "cat file.cpio | cpio -tv" also works but how to implement also this with g_spawn family ? Thanks for replying, -- Colossus Xarchiver, a GTKÃ+2 only frontend to rar,zip,tar,bzip2 a

making Gnome fast

2005-10-14 Thread Christophe Combelles
This is the title of a slideshow made by Federico Mena-Quintero, and presented during the 2005 Gnome Summit in Boston. http://primates.ximian.com/%7Efederico/docs/2005-GNOME-Summit/html/index.html During the summit, he's been working with Billy Biggs, Owen Taylor, Carl Worth and Keith Packard,

how to "dynamically unload" interfaces with libglade

2005-10-14 Thread Yiannis
Let GladeXML *Xml1, *Xml2; Xml1 = glade_xml_new("foo.glade", NULL, NULL); Xml2 = glade_xml_new("bar.glade", NULL, NULL); At some point I want to destroy and unreference Xml2... What is the "proper" way to do so? Using g_object_unref?? One point is that at some later stage in my program I would li

Re: GtkFileChooserButton issues

2005-10-14 Thread David Necas (Yeti)
On Thu, Oct 13, 2005 at 04:11:30PM +0200, David Necas (Yeti) wrote: > > I'm unable to set the button back to the "(None)" state This was a problem in my code, as it works on a simple example. > When it starts in the "(None)" state, user decides not to > select anything and presses Cancel, the fi