From diogofsr at gmail.com Fri Jun 1 14:42:09 2007 From: diogofsr at gmail.com (Diogo Ramos) Date: Fri, 01 Jun 2007 15:42:09 -0300 Subject: [Glade-users] Jointed Glade Interface Message-ID: <46606881.6060508@gmail.com> Hello to all, I am using Glade and really enjoying it, but something is bothering me to the guts: The jointed interface. I really liked the interface of Glade 2, which was using the same paradigm of Gimp of floating windows. Now, it's all together and my poor little aplication is squeezed in the middle of it. It just getting in the way. Is there any way to compile Glade in a way which the windows would be floating around again or it's a permanent feature? Thank you. -- Diogo F. S. Ramos From tvb at gnome.org Mon Jun 4 11:18:26 2007 From: tvb at gnome.org (Tristan Van Berkom) Date: Mon, 04 Jun 2007 11:18:26 -0400 Subject: [Glade-users] Glade 3.3.0 snapshot released Message-ID: <1180970306.4731.3.camel@thug> Hi all, This is the first development release on the 3.3 series, it has everything from 3.2 plus a new framework for context menu actions. Enjoy, - The Glade team What is Glade ? =============== Glade is a RAD tool to enable quick & easy development of user interfaces for the Gtk+ toolkit and the GNOME desktop environment. The user interfaces designed in Glade are stored in XML format, enabling easy integration with external tools. In particular libglade can load the XML files and create the interfaces at runtime. The DTD for the XML files is included with libglade, and is also at http://glade.gnome.org/glade-2.0.dtd. =========== Glade 3.3.0 =========== - Allow plugin authors to add context menu items for thier widgets (one entry point to act upon a widget, and another to operate on a widget's child). - Juan Pablo Ugarte - Insert before/after context menu actions for GtkBox & GtkTable (bug 438881) - Juan Pablo Ugarte Where can I get it ? ==================== http://download.gnome.org/sources/glade3/3.3/ For more information consult our home page at http://glade.gnome.org/ From diogofsr at gmail.com Fri Jun 1 23:11:11 2007 From: diogofsr at gmail.com (Diogo Ramos) Date: Sat, 2 Jun 2007 00:11:11 -0300 Subject: [Glade-users] Variables switched in the GtkDialog Response Callback Message-ID: <4769eb440706012011q7a9082fasef3551de303a43b@mail.gmail.com> I was playing during some time with the gtkdialog response callback and I had noticed some strange behaviors. Them finale, I figured it out. The protoptipe of the callback in the gtk manual is: void user_function (GtkDialog *dialog, gint arg1, gpointer user_data) But, when I set glade to pass one widget from user_data, the protoptipe is actually switched. What I mean is that *dialog becomes user_data and user_data becomes *dialog. So, if I want to use the widget which I passed thought the glade_xml, I use *dialog, not user_data. I made a little test file: main.c /*************************/ #include #include #include void resposta( GtkDialog *dialog, gint arg1, gpointer data ) { switch( arg1 ) { case GTK_RESPONSE_OK: { const gchar *str = NULL; str = gtk_entry_get_text( GTK_ENTRY(dialog)); printf("Entry:%s\n", str ); break; } case GTK_RESPONSE_CANCEL: { gtk_main_quit(); } } } int main( int argc, char *argv[] ) { GladeXML *xmlTree; GtkWidget *dialog1; gtk_init(&argc, &argv); xmlTree = glade_xml_new ("interface.glade", NULL, NULL); dialog1 = glade_xml_get_widget(xmlTree, "dialog1"); glade_xml_signal_autoconnect(xmlTree); g_object_unref( xmlTree ); gtk_widget_show(dialog1); gtk_main(); return EXIT_SUCCESS; } /********************/ interface.glade /********************/ GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 5 GTK_WIN_POS_CENTER_ON_PARENT GDK_WINDOW_TYPE_HINT_DIALOG False True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 2 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK GTK_BUTTONBOX_END True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK button -5 True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK button -6 1 False GTK_PACK_END /********************/ Is this behavior desired or is it a bug? Seems to be a bug, but what I know? ;-) -- Diogo F. S. Ramos -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/glade-users/attachments/20070602/a286dd9a/attachment.html From tvb at gnome.org Sat Jun 2 13:15:37 2007 From: tvb at gnome.org (Tristan Van Berkom) Date: Sat, 02 Jun 2007 13:15:37 -0400 Subject: [Glade-users] Jointed Glade Interface In-Reply-To: <46606881.6060508@gmail.com> References: <46606881.6060508@gmail.com> Message-ID: <1180804537.4578.2.camel@scrabble-desktop> On Fri, 2007-06-01 at 15:42 -0300, Diogo Ramos wrote: > Hello to all, > > I am using Glade and really enjoying it, but something is bothering me > to the guts: The jointed interface. > I really liked the interface of Glade 2, which was using the same > paradigm of Gimp of floating windows. > Now, it's all together and my poor little aplication is squeezed in the > middle of it. > It just getting in the way. > Is there any way to compile Glade in a way which the windows would be > floating around again or it's a permanent feature? Currently glade is a single window UI, although there are some plans to make some of the UI components dockable (i.e. the user would have the choice to "detach" some components, like the editor/inspector/palette). Cheers, -Tristan From alexey.kurochkin at pathfinderlwd.com Mon Jun 4 12:47:39 2007 From: alexey.kurochkin at pathfinderlwd.com (Alexey Kurochkin) Date: Mon, 04 Jun 2007 11:47:39 -0500 Subject: [Glade-users] Jointed Glade Interface In-Reply-To: <1180804537.4578.2.camel@scrabble-desktop> References: <46606881.6060508@gmail.com> <1180804537.4578.2.camel@scrabble-desktop> Message-ID: <1180975659.3311.11.camel@localhost.localdomain> On Sat, 2007-06-02 at 13:15 -0400, Tristan Van Berkom wrote: > Currently glade is a single window UI, although there are some plans > to make some of the UI components dockable (i.e. the user would have > the choice to "detach" some components, like the > editor/inspector/palette). > I personally think that it make much more sense to make the preview window "detachable". It would also allow to have multiple top level widgets visible at the same time side by side, as in glade 2. As of palette, inspector and properties - they are perfectly fine in one window if you move inspector to the area the preview currently occupies. Alexey From tvb at gnome.org Mon Jun 4 13:44:46 2007 From: tvb at gnome.org (Tristan Van Berkom) Date: Mon, 04 Jun 2007 13:44:46 -0400 Subject: [Glade-users] Variables switched in the GtkDialog Response Callback In-Reply-To: <4769eb440706012011q7a9082fasef3551de303a43b@mail.gmail.com> References: <4769eb440706012011q7a9082fasef3551de303a43b@mail.gmail.com> Message-ID: <1180979086.4731.7.camel@thug> On Sat, 2007-06-02 at 00:11 -0300, Diogo Ramos wrote: [...] > Is this behavior desired or is it a bug? > Seems to be a bug, but what I know? ;-) Its not a bug, it just works in a really unintuitive way. IMO you should be able to select an object as user data, and you should be able to toggle whether the connection will be made with the G_SIGNAL_SWAPPED flag as a separate signal option. Feel free to file this as an enhancement to glade, might also be a good idea to bring it up wrt the builder patches: http://bugzilla.gnome.org/show_bug.cgi?id=172535 Cheers, -Tristan From julienbreton at hotmail.fr Thu Jun 7 11:07:09 2007 From: julienbreton at hotmail.fr (Breton Julien) Date: Thu, 07 Jun 2007 17:07:09 +0200 Subject: [Glade-users] Tutorial Glade+opengl Message-ID: Hi, Do you know a tuorial who explain how use glade with opengl ? ...or if you are some informations thanks, Julien _________________________________________________________________ D?couvrez le Blog heroic Fantaisy d'Eragon! http://eragon-heroic-fantasy.spaces.live.com/ From julienbreton at hotmail.fr Fri Jun 8 04:05:22 2007 From: julienbreton at hotmail.fr (Breton Julien) Date: Fri, 08 Jun 2007 10:05:22 +0200 Subject: [Glade-users] Tutorial Glade+opengl In-Reply-To: <20070607152827.GA14164@debye.scl.ameslab.gov> Message-ID: I can use GtkGLArea or GtkGLext with Windows XP ? Julien >From: "Michael Ekstrand" >To: Breton Julien >CC: glade-users at lists.ximian.com >Subject: Re: [Glade-users] Tutorial Glade+opengl >Date: Thu, 7 Jun 2007 10:28:27 -0500 > >On Thu, Jun 07, 2007 at 05:07:09PM +0200, Breton Julien wrote: > > Do you know a tuorial who explain how use glade with opengl ? > > ...or if you are some informations > >I don't know of a tutorial, but the way I do it is to create a >GtkDrawingArea in my Glade file, and then use GtkGLext to give that >drawing area OpenGL capabilities before it's realized (this can be done >when you're loading your widgets out of the XML, before the Glade-built >UI is actually shown). > >The GtkGLext documentation and examples will show how to use GL calls in >the expose handler of your drawing area. > >There's also gtkglarea, but I've never used it and don't know how it >works. > >- Michael _________________________________________________________________ Gagnez des pc Windows Vista avec Live.com http://www.image-addict.fr/ From mekstran at scl.ameslab.gov Fri Jun 8 09:37:22 2007 From: mekstran at scl.ameslab.gov (Michael Ekstrand) Date: Fri, 8 Jun 2007 08:37:22 -0500 Subject: [Glade-users] Tutorial Glade+opengl In-Reply-To: References: <20070607152827.GA14164@debye.scl.ameslab.gov> Message-ID: <20070608133722.GA22583@debye.scl.ameslab.gov> On Fri, Jun 08, 2007 at 10:05:22AM +0200, Breton Julien wrote: > I can use GtkGLArea or GtkGLext with Windows XP ? GtkGLext, yes - they even have screenshots. I believe GtkGLarea, at least in modern incarnations, can be used also. - Michael From happyarch at gmail.com Mon Jun 11 22:29:27 2007 From: happyarch at gmail.com (l l) Date: Tue, 12 Jun 2007 11:29:27 +0900 Subject: [Glade-users] glade custom widget Message-ID: <768a59a70706111929ob90d6d7pc2de6105216714e3@mail.gmail.com> Hi, I am new to glade and gtk programming, I have a question. When i study gtk application in anjuta-2.1.3, i succeed to create simple gtk+/gui example with glade-plugin. now i want to replace one of the widgets with VteTerminal, so i have changed the one to custom widget. Please check my code, --main.c-- ... GtkWidget *vteterm; vteterm = glade_xml_get_widget (gxml, "custom1"); ... --eof-- --1.glade-- ... vte_terminal_new() ... --eof-- From dylanmccall at gmail.com Tue Jun 12 02:08:18 2007 From: dylanmccall at gmail.com (Dylan McCall) Date: Mon, 11 Jun 2007 23:08:18 -0700 Subject: [Glade-users] (Lame title ahead) A few random problems / questions... Message-ID: <9b6762c90706112308q7167a33er165959737a2b5483@mail.gmail.com> Hello Glade people! I am wrapping libglade to BlitzMax (a really pleasant proprietary - but not "evil" - programming language), and I think I am nearly done. Everything is drawing fine, no error messages, signals are coming in, callbacks work, etc. Almost all is nice as far as I am at the moment :) A few bothersome chunks, though: -The GUI I am testing this with has a GTKAboutDialog. The dialog displays fine, with an image, license data and authors. However, the website label (displayed as a button in the interface designer) becomes a mere label with the URL of my web site. (It is not clicky). Why would this be? Also, and perhaps more importantly, I can't figure out how to assign a signal handler for the dialog's Close button! Clicking it does nothing normally. I have tried adding a handler to the "close" signal (in GTKDialog) for the About window, but it is not triggered. -Those configurable menu accelerators are an awesome feature. Do they require libgnome to work? -Where can I find out what all these signals mean? For example, "realize" and "unrealize" baffle me. -I find myself overriding all of my programs' windows' delete signal handlers and adding gtk_true to them, instead having the windows hide / appear when needed rather than be generated on the spot. Is this normal? Can I speed this along and have the signals added by default rather than do it manually every time? -In the Glade Interface Designer, where I set up signal handlers, there is a check box that says "After." What does that option do? -Is there perhaps some tool I can use to probe the UI, checking out what signal handlers are attached to widgets, maybe sending out fake signals? This would be a great way to find my way around all of this. Thanks in advance, -Dylan McCall -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/glade-users/attachments/20070611/e437f7f7/attachment.html From tvb at gnome.org Tue Jun 12 09:45:04 2007 From: tvb at gnome.org (Tristan Van Berkom) Date: Tue, 12 Jun 2007 09:45:04 -0400 Subject: [Glade-users] custom widget ? Message-ID: <1181655905.4644.2.camel@thug> > I am new to glade and gtk programming, I have a question. Really ? What is your question ? -Tristan > When i study gtk application in anjuta-2.1.3, i succeed to create > simple gtk+/gui example with glade-plugin. > now i want to replace one of the widgets with VteTerminal, > so i have changed the one to custom widget. > Please check my code, From tvb at gnome.org Tue Jun 12 09:59:58 2007 From: tvb at gnome.org (Tristan Van Berkom) Date: Tue, 12 Jun 2007 09:59:58 -0400 Subject: [Glade-users] (Lame title ahead) A few random problems / questions... Message-ID: <1181656798.4644.16.camel@thug> > Hello Glade people! > Hi [...] > -The GUI I am testing this with has a GTKAboutDialog. The dialog displays > fine, with an image, license data and authors. > However, the website label (displayed as a button in the interface designer) > becomes a mere label with the URL of my web site. (It is not clicky). Why > would this be? Not sure, are you running your app in the same environment as you ran glade ? widgets can react differently when a.) the underlying lib is of a different version b.) libgnomeui is initialized c.) some resources are discovered (maybe the link is only clickable with a known web browser running ?) > Also, and perhaps more importantly, I can't figure out how to assign a > signal handler for the dialog's Close button! Clicking it does nothing > normally. I have tried adding a handler to the "close" signal (in GTKDialog) > for the About window, but it is not triggered. usually a dialog is "run" and "close" is just one of the possible responses of the dialog. > > -Those configurable menu accelerators are an awesome feature. Do they > require libgnome to work? > > -Where can I find out what all these signals mean? For example, "realize" > and "unrealize" baffle me. use DevHelp or browse the online docs here http://www.gtk.org/api/ signals that are internal to the widget implementation details (such as "realize") usually have less of a chance of being well documented, but normally signals that are of significance to the programmer are documented. > -I find myself overriding all of my programs' windows' delete signal > handlers and adding gtk_true to them, instead having the windows hide / > appear when needed rather than be generated on the spot. Is this normal? Can > I speed this along and have the signals added by default rather than do it > manually every time? add gtk_widget_hide() as the callback for the delete signal ? > -In the Glade Interface Designer, where I set up signal handlers, there is a > check box that says "After." What does that option do? it adds G_CONNECT_AFTER to the connect flags when connecting, see http://developer.gnome.org/doc/API/2.0/gobject/gobject-Signals.html . Cheers, -Tristan From tvb at gnome.org Tue Jun 12 11:38:17 2007 From: tvb at gnome.org (Tristan Van Berkom) Date: Tue, 12 Jun 2007 11:38:17 -0400 Subject: [Glade-users] my question is In-Reply-To: <768a59a70706120833v9386e30ub8f0251c231860b@mail.gmail.com> References: <768a59a70706120833v9386e30ub8f0251c231860b@mail.gmail.com> Message-ID: <1181662697.4644.21.camel@thug> On Wed, 2007-06-13 at 00:33 +0900, l l wrote: > > Really ? > > > What is your question ? > > > -Tristan > > > Atm, my question is > > 1. why vte_terminal_set_size() doesn't work? Who knows, maybe its bugged, you could add some trace to it and find out where its going wrong, then find out if you are misusing the api or if you should fix it directly in the vte code right ? > 2. where is vte_terminal_get_type() > (of course, there is vte_terminal_get_type() but no definition..) I dont know the vte code at all, but modern GObjects are written with the G_DEFINE_TYPE() macro which takes care of the definition of my_object_get_type() for you. Cheers, -Tristan From raherh at gmail.com Tue Jun 12 13:47:38 2007 From: raherh at gmail.com (rahed) Date: Tue, 12 Jun 2007 17:47:38 +0000 Subject: [Glade-users] glade make finishes with libxml2 Message-ID: Hello, I'd like to install glade3-3.2.2 with MinGW on windows. I've got gtk+-2.11.2, but glade make ends up with a message: File "c:/gtksource/bin/xml2po", line 35, in import libxml2 ImportError: No module named libxml2 glade configure passed smoothly. Does it mean that I have to install libxml2-python binding? Or do I miss something else? Thanks! -- Radek From Calum.Benson at Sun.COM Wed Jun 13 08:00:54 2007 From: Calum.Benson at Sun.COM (Calum Benson) Date: Wed, 13 Jun 2007 13:00:54 +0100 Subject: [Glade-users] (Lame title ahead) A few random problems / questions... In-Reply-To: <9b6762c90706112308q7167a33er165959737a2b5483@mail.gmail.com> References: <9b6762c90706112308q7167a33er165959737a2b5483@mail.gmail.com> Message-ID: <1181736054.1822.272.camel@sr1-edub-04> On Mon, 2007-06-11 at 23:08 -0700, Dylan McCall wrote: > -Is there perhaps some tool I can use to probe the UI, checking out > what signal handlers are attached to widgets, maybe sending out fake > signals? This would be a great way to find my way around all of this. at-poke and/or accersiser might help you here: http://developer.gnome.org/projects/gap/testing/at-poke.html http://live.gnome.org/Accerciser Cheeri, Calum. -- CALUM BENSON, Usability Engineer Sun Microsystems Ireland mailto:calum.benson at sun.com GNOME Desktop Group http://ie.sun.com +353 1 819 9771 Any opinions are personal and not necessarily those of Sun Microsystems From tvb at gnome.org Mon Jun 18 11:28:55 2007 From: tvb at gnome.org (Tristan Van Berkom) Date: Mon, 18 Jun 2007 11:28:55 -0400 Subject: [Glade-users] Glade 3.3.1 released Message-ID: <1182180536.4579.1.camel@thug> Hi all, This is the second development release on the 3.3 series, it has some bugfixes and some more context menu actions. Enjoy, - The Glade team What is Glade ? =============== Glade is a RAD tool to enable quick & easy development of user interfaces for the Gtk+ toolkit and the GNOME desktop environment. The user interfaces designed in Glade are stored in XML format, enabling easy integration with external tools. In particular libglade can load the XML files and create the interfaces at runtime. The DTD for the XML files is included with libglade, and is also at http://glade.gnome.org/glade-2.0.dtd. =========== Glade 3.3.1 =========== - Insert before/after & Remove page context menu actions for GtkNotebook (bug 438881) - Juan Pablo Ugarte - Remove row/column context menu actions for GtkTable - Juan Pablo Ugarte - Fix C89 compilation (bug 444045) - Jens Granseuer - Fixed win32 build (bug 444605) - Juan Pablo Ugarte - Allow child contextual actions to work on placeholders - Juan Pablo Ugarte - Remove 'm4' from EXTRA_DIST (bug 445028) - Vincent Geddes - Some misc. win32 build fixes - Vincent Geddes - Fixed cut/paste glitches inside notebooks - Tristan Van Berkom - Fixed incorrectly loaded stock icons (bug 444959) - Juan Pablo Ugarte - Spelling/Translation fixes (bug 419979, 429736) - Vincent Geddes - Fixed console warnings (bug 424509) - Vincent Geddes Where can I get it ? ==================== http://download.gnome.org/sources/glade3/3.3/ For more information consult our home page at http://glade.gnome.org/ From salaria113 at yahoo.com Tue Jun 19 03:05:14 2007 From: salaria113 at yahoo.com (salaria113 at yahoo.com) Date: Tue, 19 Jun 2007 00:05:14 -0700 (PDT) Subject: [Glade-users] Glade 3.3.1 released Message-ID: <397017.99821.qm@web61323.mail.yahoo.com> Hi, the link to http://glade.gnome.org/glade-2.0.dtd doesn't work. Is it only my problem ? Have a nice day Luca ----- Messaggio originale ----- Da: Tristan Van Berkom A: gnome-announce-list at gnome.org; gnome-devtools at gnome.org; glade-devel at lists.ximian.com; glade-users at lists.ximian.com Inviato: Luned? 18 giugno 2007, 17:28:55 Oggetto: [Glade-users] Glade 3.3.1 released Hi all, This is the second development release on the 3.3 series, it has some bugfixes and some more context menu actions. Enjoy, - The Glade team What is Glade ? =============== Glade is a RAD tool to enable quick & easy development of user interfaces for the Gtk+ toolkit and the GNOME desktop environment. The user interfaces designed in Glade are stored in XML format, enabling easy integration with external tools. In particular libglade can load the XML files and create the interfaces at runtime. The DTD for the XML files is included with libglade, and is also at http://glade.gnome.org/glade-2.0.dtd. =========== Glade 3.3.1 =========== - Insert before/after & Remove page context menu actions for GtkNotebook (bug 438881) - Juan Pablo Ugarte - Remove row/column context menu actions for GtkTable - Juan Pablo Ugarte - Fix C89 compilation (bug 444045) - Jens Granseuer - Fixed win32 build (bug 444605) - Juan Pablo Ugarte - Allow child contextual actions to work on placeholders - Juan Pablo Ugarte - Remove 'm4' from EXTRA_DIST (bug 445028) - Vincent Geddes - Some misc. win32 build fixes - Vincent Geddes - Fixed cut/paste glitches inside notebooks - Tristan Van Berkom - Fixed incorrectly loaded stock icons (bug 444959) - Juan Pablo Ugarte - Spelling/Translation fixes (bug 419979, 429736) - Vincent Geddes - Fixed console warnings (bug 424509) - Vincent Geddes Where can I get it ? ==================== http://download.gnome.org/sources/glade3/3.3/ For more information consult our home page at http://glade.gnome.org/ _______________________________________________ Glade-users maillist - Glade-users at lists.ximian.com http://lists.ximian.com/mailman/listinfo/glade-users ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/glade-users/attachments/20070619/fe0f2b02/attachment.html From alexey.kurochkin at pathfinderlwd.com Tue Jun 19 08:53:26 2007 From: alexey.kurochkin at pathfinderlwd.com (Alexey Kurochkin) Date: Tue, 19 Jun 2007 07:53:26 -0500 Subject: [Glade-users] Glade 3.3.1 released In-Reply-To: <397017.99821.qm@web61323.mail.yahoo.com> References: <397017.99821.qm@web61323.mail.yahoo.com> Message-ID: <1182257606.9904.2.camel@localhost.localdomain> On Tue, 2007-06-19 at 00:05 -0700, salaria113 at yahoo.com wrote: > Hi, the link to http://glade.gnome.org/glade-2.0.dtd doesn't work. > Is it only my problem ? It works, but the browser doesn't show it since it tries to interpret it as html. Use "view source" in your browser, or save the page and open in a text editor. >