Re: State actions and Glade

2018-10-05 Thread Mitko Haralanov via gtk-app-devel-list
Thanks for the example. I played a bit more with Glade and I found that if the action is described as a detailed action, i.e. "win.radio-action(0)", then the application acts as if I haven't define such an action. It appears as if the buildable is using the entire string as the

Re: State actions and Glade

2018-10-05 Thread Eric Cashon via gtk-app-devel-list
I don't know if this is of any help. Another try at it. This one uses a GtkApplication. Setup an action on the button along with the standard "clicked" callback. A menu in there also. Eric //gcc -Wall toolbar2.c -o toolbar2 `pkg-config --cflags --libs gtk+-3.0` #include static void quit_p

Re: State actions and Glade

2018-10-04 Thread Eric Cashon via gtk-app-devel-list
"I am not sure what you mean" I don't have a good answer for this. I see that GtkRadioToolButton is in the list of Known Implementations for GtkActionable but doesn't use the GAction interface directly. https://developer.gnome.org/gtk3/stable/GtkActionable.html#gtk-actionable-set-detailed-act

Re: State actions and Glade

2018-10-04 Thread Mitko Haralanov via gtk-app-devel-list
Hi, Thank you for your reply. I am not sure what you mean by "GtkToolbar doesn't implement the GAction interface". In Glade, I can define the specify the "Action Name" for each individual widget in the Toolbar. Those action names get automatically linked to the actions th

Re: State actions and Glade

2018-10-02 Thread Eric Cashon via gtk-app-devel-list
Hi Mitko, The GtkToolbar doesn't implement the GAction interface so you are out of luck there. You can use gtk_toggle_tool_button_get_active() to get the state of one of the GtkRadioToolButton's in the toolbar. Eric //gcc -Wall toolbar1.c -o toolbar1 `pkg-config --cflags --libs gtk+-3.0`

Re: State actions and Glade

2018-10-02 Thread Mitko Haralanov via gtk-app-devel-list
Can someone please help me with some pointer? Thank you. On Tue, Sep 18, 2018 at 9:35 AM Mitko Haralanov wrote: > I am trying to write an application using Glade where the tool bar > contains a set of radio tool buttons. Those radio tool buttons should not > perform an action when

State actions and Glade

2018-09-18 Thread Mitko Haralanov via gtk-app-devel-list
I am trying to write an application using Glade where the tool bar contains a set of radio tool buttons. Those radio tool buttons should not perform an action when activated but rather just change the associated action's state. For that I've set the 'Action Name' property for

Re: compiling glade

2018-03-22 Thread Tristan Van Berkom
On Thu, 2018-03-22 at 19:13 +0100, arkkimede wrote: > Thank You Tristan for Your Kindness. > Unfortunately, this new release of Glade require libgtk-3.20.0 and in > my linuxbox Ubuntu 16.04 I have only 3.18.0. > The 3.20.0 is present in Ubuntu 17 but this release is not stable > eno

Re: compiling glade

2018-03-22 Thread Tristan Van Berkom
Hi, On Thu, 2018-03-22 at 14:52 +0100, arkkimede wrote: > HI! > I want to install the latest version of glade downloaded from git-hub. > > I read the instruction. > > There is written that configure.ac or configure.in is used to generate the > script configure. > To do

compiling glade

2018-03-22 Thread arkkimede
HI! I want to install the latest version of glade downloaded from git-hub. I read the instruction. There is written that configure.ac or configure.in is used to generate the script configure. To do that execute the command autoconf. I executed this command but some macro are missed Searching I

Re: Can I get GTK_RESPONSE_ACCEPT/REJECT from modal dialog by glade.

2017-06-25 Thread michinari.nukazawa
Hi To do this, you need to set the "Response ID" property on the buttons you add in the action area. It works. Thank you! I love glade, this is good visual gui editor. (I favorite feature is undo/redo.) glade 3.18.3 in Ubuntu16.04 is not recent. :) https://lazka.github.io/pgi-do

Re: Can I get GTK_RESPONSE_ACCEPT/REJECT from modal dialog by glade.

2017-06-25 Thread Tristan Van Berkom
Hi > On Jun 25, 2017, at 5:40 PM, michinari.nukazawa > wrote: > > Hello. > I develop vecterion vector graphics editor in GTK3/cairo. > https://github.com/MichinariNukazawa/vecterion_vge > I try porting the "New Document" dialog to xml file by glade from C cod

Can I get GTK_RESPONSE_ACCEPT/REJECT from modal dialog by glade.

2017-06-25 Thread michinari.nukazawa
Hello. I develop vecterion vector graphics editor in GTK3/cairo. https://github.com/MichinariNukazawa/vecterion_vge I try porting the "New Document" dialog to xml file by glade from C code. ``` GtkDialogFlags flags = GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT;

Re: Glade crash

2017-03-09 Thread Jim Charlton
Pozz: I see what you mean. I observe exactly what you observe (glade-3.20 on Ubuntu-16.10). I do note that if you add data back to the fan_store columns... then all three of the TreeViews come back as expected. I have to admit that I am not an expert on glade use. I was doing some

Re: How to use glade with a GtkHeaderBar with different layouts

2017-03-07 Thread Tristan Van Berkom
51 GMT+01:00 Tristan Van Berkom > : > > > > On Mon, 2017-03-06 at 22:26 +0100, Iñigo Martínez wrote: > > > > > > Recently, I started moving UI code from bare C to Glade XML > > > files, so > > > the UI definition gets split from the UI logic. &

Re: How to use glade with a GtkHeaderBar with different layouts

2017-03-07 Thread Iñigo Martínez
: > On Mon, 2017-03-06 at 22:26 +0100, Iñigo Martínez wrote: >> Recently, I started moving UI code from bare C to Glade XML files, so >> the UI definition gets split from the UI logic. >> >> One of the widgets I have been moving is a GtkHeaderBar. The >> applicatio

Re: How to use glade with a GtkHeaderBar with different layouts

2017-03-06 Thread Tristan Van Berkom
On Mon, 2017-03-06 at 22:26 +0100, Iñigo Martínez wrote: > Recently, I started moving UI code from bare C to Glade XML files, so > the UI definition gets split from the UI logic. > > One of the widgets I have been moving is a GtkHeaderBar. The > application uses a GtkStack

How to use glade with a GtkHeaderBar with different layouts

2017-03-06 Thread Iñigo Martínez
Recently, I started moving UI code from bare C to Glade XML files, so the UI definition gets split from the UI logic. One of the widgets I have been moving is a GtkHeaderBar. The application uses a GtkStack to move between diferent windows, and the code creates, adds and destroys the buttons on

Re: Glade crash

2017-03-06 Thread Pozz Pozz
Glade 3.20 I'm using was installed from msys2[1] package. This is because it is the only way I discovered to installed the most up to date release. Indeed, Glade website links to 3.14.2 binary release. I noticed there are some messages[2] on the msys2 console when Glade crashes, maybe they

Re: Glade crash

2017-03-06 Thread Pozz Pozz
Hello jim, I tried with a virtual machine of Ubuntu (downloaded from osboxes.org). It's Ubuntu 16.10. I installed Glade 3.20. The first[1] is the screenshot after opening the original .glade file. It seems ok (note the presence of one data row in fans_store ListStore and the rendering of

Re: Glade crash

2017-03-05 Thread Jim Charlton
I have no problem opening this file and deleting rows in the fan store. I am using glade-3.20 on Ubuntu-16.10 with gtk-3.20. Notably, this file opens but does not display its contents correctly when I try to open it with glade-3.19 on Ubuntu-16.04 with gtk-3.18 (although it does not crash

Re: Glade crash

2017-03-03 Thread Pozz Pozz
Hello Dan, you can download the glade file from this link <https://drive.google.com/file/d/0B1s7dNPGsJ3CZllrOUVwNWw4TWM/view?usp=sharing> ( https://drive.google.com/file/d/0B1s7dNPGsJ3CZllrOUVwNWw4TWM/view?usp=sharing ). 2017-03-03 4:10 GMT+01:00 Daniel Kasak : > There is no attach

Re: Glade crash

2017-03-02 Thread Daniel Kasak
There is no attachment. Try sharing it a different way - pastebin or something. Dan On Wed, Mar 1, 2017 at 5:18 AM, pozzugno wrote: > Most probably this isn't the most appropriate mailing list, because I > think my issue is related to Glade (and not Gtk libraries). > > Atta

Glade crash

2017-03-02 Thread pozzugno
Most probably this isn't the most appropriate mailing list, because I think my issue is related to Glade (and not Gtk libraries). Attached is one of my graphical interface, designed with Glade. Unfortunately when Glade opens this file, it seems it is very unstable if I try to change some

Re: GTK3 Glade and rendering in Windows/Linux]

2017-02-21 Thread happy debugging
Finally could style with css and Glade in Windows adnd adjust the margins (actually using padding as the margin seems not be able to change it while in Linux it did). "GtkWindow" (instead of "window") is what seems needed to be used in Windows. Apparently Windows and Linux uses

Re: GTK3 Glade and rendering in Windows/Linux]

2017-02-21 Thread Happy
would be great. > > The concern is, under windows the spacing is pretty large. > > So, I started to look at css, compiled and run this (non glade) > > example > > : http://wikistack.com/use-css-gtk/ > > As with my own (glade0 application, the css  seems not being >

Re: GTK3 Glade and rendering in Windows/Linux]

2017-02-19 Thread Phil Wolff
windows the spacing is pretty large. So, I started to look at css, compiled and run this (non glade) example : http://wikistack.com/use-css-gtk/ As with my own (glade0 application, the css seems not being applied, My window is still grey instead of red. On Tue, 2017-01-31 at 14:50 +0100, Tilo

Re: GTK3 Glade and rendering in Windows/Linux]

2017-02-19 Thread Happy
I dont mind the windows theme to look different than the Ubuntu one, if it looks close or equal to native Windows, that would be great. The concern is, under windows the spacing is pretty large. So, I started to look at css, compiled and run this (non glade) example : http://wikistack.com/use-css

Re: GTK3 Glade and rendering in Windows/Linux]

2017-02-02 Thread Daniel Kasak
I'm not sure of the licensing implications ( maybe there are none ), but the current Ubuntu theme is implemented exclusively in css. If you have a Ubuntu box, you can locate them in /usr/share/themes ( eg /usr/share/themes/Ambiance/gtk-3.20 is one particular theme ). If you copy these into the righ

Re: GTK3 Glade and rendering in Windows/Linux]

2017-01-31 Thread Michael Torrie
On 01/31/2017 05:54 AM, Happy wrote: > > Thanks for the note. Hope the following links work. As you can see the > windows are much different in size as well as the spacing. > > Ubuntu: > https://drive.google.com/file/d/0BxjwKUaYdW_zYnUydWExX2NNdE0/view?usp=s > haring > > Windows: > https://drive

Re: GTK3 Glade and rendering in Windows/Linux]

2017-01-31 Thread Tilo Villwock
Well for one: The appearance on Ubuntu deviates from the default GTK theme, so I'm not really sure if the comparison makes sense. Also, did you actually verify that this is a problem, that pertains to Glade only? Either way, if it bothers you too much, you have to start tweaking the css

Re: GTK3 Glade and rendering in Windows/Linux]

2017-01-31 Thread Happy
x27;re trying to point > people to files, screenshots, etc, try  chucking them on a blog or > pastebin or something. > > Dan > > On Sun, Jan 29, 2017 at 12:44 PM, Happy > wrote: > > > > Attached is a glade file. These render as seen in the attachments > &g

Re: GTK3 Glade and rendering in Windows/Linux]

2017-01-31 Thread Daniel Kasak
Neither of your messages had any attachments. Probably they're stripped out by the mailing list server. If you're trying to point people to files, screenshots, etc, try chucking them on a blog or pastebin or something. Dan On Sun, Jan 29, 2017 at 12:44 PM, Happy wrote: > > Att

GTK3 Glade and rendering in Windows/Linux]

2017-01-29 Thread Happy
Attached is a glade file. These render as seen in the attachments in Windows and Ubuntu(16.10). In Windows(10) the window is far larger as well as is for the spacing. It there a away to get the spacing and size down alike the rendering in Windows ? I guess this is not so much related to glade but

GTK3 Glade and rendering in Windows/Linux

2017-01-25 Thread Happy
Attached is a glade file. These render as seen in the attachments in Windows and Ubuntu(16.10). In Windows(10) the window is far larger as well as is for the spacing. It there a away to get the spacing and size down alike the rendering in Windows ? I guess this is not so much related to glade but

glade and compiled resources

2016-11-14 Thread iSage
So, i know i can compile my resources and glade .ui file and load it using builder. However, i have a problem with icons. Let's say a have a following structure: / window.ui pixmaps/ run-iso.png And an button in .ui with icon_name = run-iso Using gtk_icon_theme_add_resource_p

Re: GTK glade SQLite Problem

2016-10-24 Thread Daniel Kasak
ed values. Then implement the logic to fetch values from your builder object. Then combine the 2. Dan On Mon, Oct 24, 2016 at 4:34 PM, Sangram Kakade wrote: > Hello Everyone, > > I am Newbie in Python and i want some help > I already created DB and in glade two Text Entry Box and one

GTK glade SQLite Problem

2016-10-23 Thread Sangram Kakade
Hello Everyone, I am Newbie in Python and i want some help I already created DB and in glade two Text Entry Box and one button and i want when i put some value in text entry it must be stored in db here is my code: import gi gi.require_version('Gtk', '3.0') from gi.reposito

Re: glade and signals connection

2016-10-19 Thread rastersoft
gnals(self) def onDeleteWindow(self, widget): blah, blah def on_btnFoo_clicked(self,btn): blah, blah El 19/10/16 a las 09:08, Pozz Pozz escribió: > I'm new to python, gtk and glade, so I'm sorry if the question is dumb. > > I'm trying to learn gtk i

glade and signals connection

2016-10-19 Thread Pozz Pozz
I'm new to python, gtk and glade, so I'm sorry if the question is dumb. I'm trying to learn gtk in its Python flavor (pyGObject). I choose to start from the graphical GUI builder glade that I run under Windows (it taked some time to find the latest Windows build in Msys2 env

Glade example for open dialog

2016-01-30 Thread Johannes Bauer
Hi there, I'm currently trying to figure out how to operate a open file/save file dialog from PyGobject using a dialog that I've created with Glade. To clarify, I know how to open such a dialog programmatically, but would like to use Glade (because in the future I'm thinking

Re: glade 3.19.0 and header bars

2015-10-10 Thread rastersoft
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi again: It seems it was a conflict with a library from glade stable. I removed all packages that could interfere and then everything went fine. Sorry. El 10/10/15 a las 05:20, Marcus Karlsson escribió: > On Fri, Oct 09, 2015 at 06:37:0

Re: glade 3.19.0 and header bars

2015-10-09 Thread Marcus Karlsson
On Fri, Oct 09, 2015 at 06:37:02PM +0200, rastersoft wrote: > Hi all: > > Yesterday I tried to open the Glade ui files from Gedit, but glade > returned an error because they use header bars. > > I cloned the GIT repository of Glade, compiled and installed it (devel > ver

glade 3.19.0 and header bars

2015-10-09 Thread rastersoft
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi all: Yesterday I tried to open the Glade ui files from Gedit, but glade returned an error because they use header bars. I cloned the GIT repository of Glade, compiled and installed it (devel version, 3.19.0), but it still shows an error

Re: GtkFileChooserDialog, Glade and header bars

2015-09-06 Thread Tristan van Berkom
> On Sep 5, 2015, at 1:09 PM, rastersoft wrote: > > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Hi all: > > I'm using a GtkFileChooserDialog created with Glade, but I receive a > warning when I create it: > > Warning: Content a

Re: GtkFileChooserDialog, Glade and header bars

2015-09-06 Thread rastersoft
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Thanks Tristan. Now I understand why an user sent me the UI files for DevedeNG recreated with Glade 3.19 O:) On 06/09/15 20:23, Tristan van Berkom wrote: > > >> On Sep 5, 2015, at 1:09 PM, rastersoft wrote: >> >> &

GtkFileChooserDialog, Glade and header bars

2015-09-05 Thread rastersoft
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi all: I'm using a GtkFileChooserDialog created with Glade, but I receive a warning when I create it: Warning: Content added to the action area of a dialog using header bars I suspect that this is because I added Cancel a

Re: Sorting a TreeView with Glade/GtkBuilder

2014-01-09 Thread Tristan Van Berkom
On Thu, 2013-12-26 at 09:34 -0600, Craig wrote: > Hello, > > I was wondering how I could sort a liststore-based treeview in glade? I've > already set all columns' sort column id, but that apparently doesn't > initiate the sorting behavior. > > Basically, I hav

Sorting a TreeView with Glade/GtkBuilder

2014-01-09 Thread Craig
Hello, I was wondering how I could sort a liststore-based treeview in glade? I've already set all columns' sort column id, but that apparently doesn't initiate the sorting behavior. Basically, I have a boolean/toggle column and then a text column and I want to sort by the tog

Glade Survey

2013-11-18 Thread Juan Pablo Ugarte
Hello everybody! We (Glade Developers) are conducting a user survey which will help us take informed decisions to improve the overall developer experience. So please take a few minutes to complete the survey, we appreciate it! https://glade.gnome.org/registration.html Cheers Juan

Loading glade in a weird way

2013-09-16 Thread Borja Mon Serrano
Hi all! I'm developing an application using gtkmm with glade. The problem that I have is that when the main window is loaded, another window appears and it is the practical main window, that is to say, if you close that window you close the program. I attach an image of what is happening

Re: xgettext not extracting strings in a Glade GtkListStore

2013-08-07 Thread Kip Warner
On Wed, 2013-08-07 at 00:08 -0700, Kip Warner wrote: > Hey list, > > I'm not sure if this is a bug in xgettext or not, but I figured I'd run > it by this list before possibly posting on bug-gett...@gnu.org. > > I have a sample GtkListStore declared within a Glade fi

xgettext not extracting strings in a Glade GtkListStore

2013-08-07 Thread Kip Warner
Hey list, I'm not sure if this is a bug in xgettext or not, but I figured I'd run it by this list before possibly posting on bug-gett...@gnu.org. I have a sample GtkListStore declared within a Glade file containing a single row with one column of type gchararray. Note that the string

Re: glade and C code

2013-05-27 Thread Tristan Van Berkom
On Tue, May 28, 2013 at 4:59 AM, Thomas A. Moulton wrote: > ok here's a simple question... > > If I have c code that creates all the widgets I can get the pointers to them > as needed. > > How can I get the GtkNotebook *pointer when I create things with glade? > > I

glade and C code

2013-05-27 Thread Thomas A. Moulton
ok here's a simple question... If I have c code that creates all the widgets I can get the pointers to them as needed. How can I get the GtkNotebook *pointer when I create things with glade? If there a function I can call to scan the created objects by name?

How to set an AppMenu using Glade?

2013-04-22 Thread Hydexon
Hello everyone i'm new here!, i just coding with Gtkmm and Glade for some time and i wan't to create an application following the Elementary's HIG's  But this is a general question about glade, how to create an "app-bar", what means an toolbar button in the right

GResource + GtkImage + Glade

2012-12-29 Thread Joe Steeve
Hello all, I am rolling all my resource files (builder xml files and images) into a GResource, and linking it to my binary. I figured that glade does not know about 'resources'. So, I unlinked my images from the glade file and am load them manually by fetching from the resource. Becau

Re: destroy a widget while keeping the window with Glade

2012-10-07 Thread Frank Cox
On Sun, 7 Oct 2012 16:59:48 +0900 Tristan Van Berkom wrote: > Just right click on any widget in Glade's palette and chose "Add as toplevel" > > Glade/GtkBuilder do not restrict you to using toplevel GtkWindows in your xml. Well, whaddayaknow bout 'dat! Thanks

Re: destroy a widget while keeping the window with Glade

2012-10-07 Thread Tristan Van Berkom
On Sun, Oct 7, 2012 at 2:57 PM, Frank Cox wrote: > I've just started playing with Glade and once again I'm wondering if I'm using > the wrong approach to get stuff done, since I can't find anything that tells > me > how to do this. > > So far, I've been

destroy a widget while keeping the window with Glade

2012-10-06 Thread Frank Cox
I've just started playing with Glade and once again I'm wondering if I'm using the wrong approach to get stuff done, since I can't find anything that tells me how to do this. So far, I've been creating a main window for the program and simply creating and destroying boxe

Re: GtkTextView and glade 3

2010-06-08 Thread Tristan Van Berkom
On Tue, Jun 8, 2010 at 1:43 AM, Mick wrote: > On Mon, 07 Jun 2010 22:12:57 -0700 > Steve Harrington wrote: > >> On 06/07/2010 09:36 PM, Mick wrote: >> > I've spent the last month struggling with glade to layout the >> > interface for my app, especia

Re: GtkTextView and glade 3

2010-06-07 Thread Mick
On Mon, 07 Jun 2010 22:12:57 -0700 Steve Harrington wrote: > On 06/07/2010 09:36 PM, Mick wrote: > > I've spent the last month struggling with glade to layout the > > interface for my app, especially creating an incoming text pane and > > placing the text into it. &

Re: GtkTextView and glade 3

2010-06-07 Thread Steve Harrington
On 06/07/2010 09:36 PM, Mick wrote: I've spent the last month struggling with glade to layout the interface for my app, especially creating an incoming text pane and placing the text into it. I regret your struggles. I currently have glade set to libglade mode and use gtk-builder-co

GtkTextView and glade 3

2010-06-07 Thread Mick
I've spent the last month struggling with glade to layout the interface for my app, especially creating an incoming text pane and placing the text into it. I currently have glade set to libglade mode and use gtk-builder-convert to turn the .glade into .xml after not being able to find how t

Re: Default values for spin buttons in Glade

2010-04-26 Thread Tadej Borovšak
Hi. > Is there a way to set the default value without an adjustment? The only other > solution I can think of is to create the adjustment in code and then apply it > to the spin button at runtime. You can use latest released version of glade (I think it's 3.7) or git master.

Re: Default values for spin buttons in Glade

2010-04-26 Thread Jozef Legény
ks for your reply Nicola. It's very helpful :) > > > > I would rather not edit the glade file itself, incase it introduces > compatibility problems with glade itself. > > > > Is there a way to set the default value without an adjustment? The only > other solution I

Re: Puzzling behavior when passing user data to callback from Glade

2010-04-25 Thread Tadej Borovšak
Hello. > How come the userdata is passed in as the first argument, while the button > widget itself is passed in as the second arguement? When the data field is not empty in Glade, signal is connected like you would call g_signal_connect_swapped() macro in C code. This was probably don

Puzzling behavior when passing user data to callback from Glade

2010-04-25 Thread dfg dfg
Hi all, I have a Glade interface with a button. I have defined a callback handler for the button and a user data that is the name of a ListStore which is also created in Glade. I then wrote a simple call back as follows: void cb_test(GtkWidget *widget, GtkListStore *store

RE: Default values for spin buttons in Glade

2010-04-24 Thread dfg dfg
Thanks for your reply Nicola. It's very helpful :) I would rather not edit the glade file itself, incase it introduces compatibility problems with glade itself. Is there a way to set the default value without an adjustment? The only other solution I can think of is to creat

Re: Default values for spin buttons in Glade

2010-04-24 Thread Nicola Fontana
Il giorno Sat, 24 Apr 2010 06:26:03 + dfg dfg ha scritto: > Can someone tell me how to set up a default value for a spin button in Glade? The adjustment generated by glade has the following properties: ... ... ... I manually moved the "value" property *after* the limits an

Default values for spin buttons in Glade

2010-04-23 Thread dfg dfg
Hi everyone, Can someone tell me how to set up a default value for a spin button in Glade? I am using Glade 3.6.7 under Ubuntu 9.10. Here's what I have done to set up my spin button. -Create spin button in the window. -Set "Numeric" property to yes. -Create

RE: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread dfg dfg
le family. Cheers for your help :) > Date: Fri, 23 Apr 2010 11:04:38 -0400 > Subject: Re: Callbacks when glade file is loaded using a dynamic library > From: t...@gnome.org > To: abx...@msn.com; gtk-app-devel-list@gnome.org > > On Fri, Apr 23, 2010 at 4:40 AM, dfg dfg wrot

Re: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread Tristan Van Berkom
On Fri, Apr 23, 2010 at 4:40 AM, dfg dfg wrote: > Hi Tristan, > > I am not sure if the symbols need to be visible in "myapp". Currently, myapp > attaches a glade file to create its interface and uses dlopen to open the > .so dynamic library. The .so library loads its own

Re: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread Tor Lillqvist
> libraries. Am I correct to assume that g_module_symbol is the replacement > for g_module_lookup()? I think g_module_lookup() has never existed except in some comment where somebody mistyped it when they meant g_module_symbol()... --tml ___ gtk-app-dev

RE: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread dfg dfg
()? I think the use of dlopen over g_module_open might be the problem. I will try that tomorrow and see what happens. Cheers > From: t...@iki.fi > Date: Fri, 23 Apr 2010 15:26:20 +0300 > Subject: Re: Callbacks when glade file is loaded using a dynamic library > To: gtk-app-devel-li

Re: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread Tor Lillqvist
> I forgot to mention that I am using GTK Builder. From some googling, i found > that g_module_lookup() is in libglade. Am I correct? No. Google harder. --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailma

RE: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread dfg dfg
I forgot to mention that I am using GTK Builder. From some googling, i found that g_module_lookup() is in libglade. Am I correct? Is there an equivalent function for GTK Builder? > Date: Thu, 22 Apr 2010 22:08:44 -0400 > Subject: Re: Callbacks when glade file is loaded using a dynamic l

Re: Callbacks when glade file is loaded using a dynamic library

2010-04-22 Thread Tristan Van Berkom
le > src/modules/libmyplugin/Makefile) > AC_OUTPUT > > For some reason though, callbacks in "myapp" the main app that loads in the > .so files work fine. Any ideas appreciated. :) > > > >> Date: Thu, 22 Apr 2010 21:37:48 -0400 >> Subject: Re: Callbacks whe

RE: Callbacks when glade file is loaded using a dynamic library

2010-04-22 Thread dfg dfg
t;myapp" the main app that loads in the .so files work fine. Any ideas appreciated. :) > Date: Thu, 22 Apr 2010 21:37:48 -0400 > Subject: Re: Callbacks when glade file is loaded using a dynamic library > From: t...@gnome.org > To: abx...@msn.com > CC: gtk-app-devel-list@

Re: Callbacks when glade file is loaded using a dynamic library

2010-04-22 Thread Tristan Van Berkom
On Thu, Apr 22, 2010 at 7:21 PM, dfg dfg wrote: > > Hi everyone, > > Currently, I have built my main application using glade. This file is then > loaded by a C application. > > I then created another interface using Glade. When my main application loads, > it loads a .s

Callbacks when glade file is loaded using a dynamic library

2010-04-22 Thread dfg dfg
Hi everyone, Currently, I have built my main application using glade. This file is then loaded by a C application. I then created another interface using Glade. When my main application loads, it loads a .so library which contains code for this subsection (kind of like a plugin). The .so

New to Glade/Pygtk

2010-03-02 Thread Wood, Keith
= TutorialTextEditor() editor.window.show() # gtk.main() gtk.main() * end python *** start Glade xml file True Gtk+ Status List 300 85 True vertical

How to create two different windows in one .glade file?

2009-05-25 Thread donglongchao
Hi,all I want to know how to create  two (or more) windows(top window,I mean) in one .glade file.That is how to integrate more than one windows into one .glade file.Maybe we can do it at the beginning we design the UI,but I do not know how to do it. I use Anjuta 2.4.1,with glade 3.4.5 inside

Re: Help with Glade-3 and gtk.ScrolledWindow

2009-05-18 Thread asomers
n.xml') >> >> Then the program appears but without any scroll bars. >> >> I've attached a test case.  My system is: >> Ubuntu 9.04 amd64 >> python 2.6.2 >> python-gtk2-dev 2.14.1-1ubuntu >> glade-3 3.6.3 >> >> Does anybody know

Re: Help with Glade-3 and gtk.ScrolledWindow

2009-05-15 Thread Tadej Borovšak
s but without any scroll bars. > > I've attached a test case.  My system is: > Ubuntu 9.04 amd64 > python 2.6.2 > python-gtk2-dev 2.14.1-1ubuntu > glade-3 3.6.3 > > Does anybody know what I'm doing wrong?  Here is what I've tried already: > 1) Using a table o

Help with Glade-3 and gtk.ScrolledWindow

2009-05-15 Thread asomers
t use gtk_scrolled_window_add_with_viewport() instead builder.add_from_file('scrolled-win.xml') Then the program appears but without any scroll bars. I've attached a test case. My system is: Ubuntu 9.04 amd64 python 2.6.2 python-gtk2-dev 2.14.1-1ubuntu glade-3 3.6.3 Does anybody

RE: GtkDialog created from GtkBuilder (glade 3) isn't returning agtk.ResponseType

2009-04-22 Thread Ethan Baldridge
Baldridge Sent: Wednesday, April 22, 2009 4:30 PM To: gtk-app-devel-list@gnome.org Subject: GtkDialog created from GtkBuilder (glade 3) isn't returning agtk.ResponseType I can't figure out what I'm doing wrong. I'm trying to make a login dialog - I created it in Glade-3

GtkDialog created from GtkBuilder (glade 3) isn't returning a gtk.ResponseType

2009-04-22 Thread Ethan Baldridge
I can't figure out what I'm doing wrong. I'm trying to make a login dialog - I created it in Glade-3 making sure to use a GtkDialog template. But the result is always 0, which isn't in the ResponseType enum at all. def login(self): self.b

Re: How to send user_data into callback function by glade only?

2009-04-15 Thread donglongchao
ng. >> >> I do not know why.Any one could help?Thanks. > >With libglade, if you specify an object... it is like reffering to prehistoric >gtk_signal_connect_object(), which swaps your instance/user-data arguments >free-of-charge, allowing for direct hooking up of fun

Re: How to send user_data into callback function by glade only?

2009-04-15 Thread Tristan Van Berkom
e, if you specify an object... it is like reffering to prehistoric gtk_signal_connect_object(), which swaps your instance/user-data arguments free-of-charge, allowing for direct hooking up of function calls from within Glade. i.e. connect to button1 "clicked", specify "window1" as the objec

Re: How to send user_data into callback function by glade only?

2009-04-14 Thread donglongchao
在2009-04-11,"Tadej Borovšak" 写道: >2009/4/11 donglongchao : >> Hi all, >> I have a question using glade(3.4.5). >> In the "signal" tab,there is a item "user_data".I want to know how to fill >> and what to fill to send the da

Re: How to send user_data into callback function by glade only?

2009-04-10 Thread Tadej Borovšak
2009/4/11 donglongchao : > Hi all, > I have a question using glade(3.4.5). > In the "signal" tab,there is a item "user_data".I want to know how to fill > and what to fill to send the data I filled into the callback function, > without using gtk_signal_connect(

How to send user_data into callback function by glade only?

2009-04-10 Thread donglongchao
Hi all, I have a question using glade(3.4.5). In the "signal" tab,there is a item "user_data".I want to know how to fill and what to fill to send the data I filled into the callback function, without using gtk_signal_connect(..) or something like that,just and only u

How to send user_data into callback function by glade only?

2009-04-10 Thread donglongchao
Hi all, I have a question using glade(3.4.5). In the "signal" tab,there is a item "user_data".I want to know how to fill and what to fill to send the data I filled into the callback function, without using gtk_signal_connect(..) or something like that,just and only u

Re: Glade and Gtk 2.16.x

2009-01-03 Thread Rodrigo Miguel
Thanks Tristan & Tadej. Rodrigo ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Glade and Gtk 2.16.x

2009-01-02 Thread Tristan Van Berkom
On Fri, Jan 2, 2009 at 2:47 PM, Rodrigo Miguel wrote: > Hi Tadej, > > Sorry, I think I wasn't clear in my question. In fact I'm already > using the glade both windows and linux. So I'm asking, if it will be > delivered with Gtk, not as separate project and not

Re: Glade and Gtk 2.16.x

2009-01-02 Thread Rodrigo Miguel
Hi Tadej, Sorry, I think I wasn't clear in my question. In fact I'm already using the glade both windows and linux. So I'm asking, if it will be delivered with Gtk, not as separate project and not dependent of LibGlade. So my interesting is about to leave libglade and star

Re: Glade and Gtk 2.16.x

2009-01-02 Thread Tadej Borovšak
Hello. Glade is already part of the Gtk+ since 2.12 forward in form of a GtkBuildable interface and GtkBuilder. Glade tutorial featuring GtkBuilder can be found at http://www.micahcarrick.com/12-24-2007/gtk-glade-tutorial-part-1.html 2009/1/2 Rodrigo Miguel : > Hello all, > > Is there

Glade and Gtk 2.16.x

2009-01-02 Thread Rodrigo Miguel
Hello all, Is there any plans to delivery glade and gtk 2.1.6.x together, I mean, will be Glade part of official gtk source code? Thanks in advance, Rodrigo ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman

RE: Dynamically adding a wiget to a container created by glade

2008-12-10 Thread Yu Feng
On Thu, 2008-12-11 at 04:38 +0530, Ravee Kondrakunta wrote: > Yes, > > I had set it. Any other input. Is this the right way to do. Becase I am > getting the instance created by glade and using that I was trying to add new > widget. The instance created by glade is nothing more

  1   2   3   >