glade

Glade or no glade: What is the best way to use PyGtk?

Hello there. I've been learning python for a while now with some success. I even managed to create one or two (simple) programs using PyGtk + Glade. The thing is: I am not sure if the best way to use GTK with python is by building the interfaces using Glade. I was wondering if the more experienced ones among us (remember, I'm just a b...

What's the purpose of the GtkWidget.events property for (like) GtkTreeView widgets?

I have a Glade GUI description file with a GtkTreeView in a GtkHBox in a window; and there's a handler for the row_activated signal. Now, Glade has automatically set the "events" property (inherited from GtkWidget) of that treeview to some value (GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_...

Where can i find the XML schema (XSD-file) for the Glade markup language?

As stated in the title, i'm looking for an XML schema (XSD-file) for the Glade markup language? Wikipedia states that Glade is a schema based markup language (list of schemas at wikipedia). I tried to search the web, wikipedia and the glade website,but i couldn't find an XSD for Glade. Thx, Juve ...

pygtk glade question: why isn't this simple script working?

I've been writing writing a small pygtk application using glade to put together the UIs. I've created several windows already that work, but for some reason this one isn't working. I get the following traceback: Traceback (most recent call last): File "test.py", line 7, in <module> class TestClass: File "test.py", line 10, in ...

How to handle a glade project with many windows

I'm working on a PyGTK/glade application that currently has 16 windows/dialogs and is about 130KB, and will eventually have around 25 windows/dialogs and be around 200KB. Currently, I'm storing all the windows in one monolithic glade file. When I run a window I call it like... self.wTree = gtk.glade.XML("interface.glade", "WindowXYZ")...

Is there any Glade3 installer for Windows?

I downloaded file: http://downloads.sourceforge.net/gladewin32/glade-3.4.3-win32-1.zip and when I extract it an run glade-3.exe from /bin folder, I get "no libxml2.dll" error. Now, I want to find installer (like GTK+ bundle for GTK+) that would install glade3 and all it's dependencies for Windows XP. ...

Column-Size on GTK TreeViews

How can I set the horizontal size of a specific column on a GTK-TreeView? I have 4 columns on my TreeView and the last one expands on the rest of the free space. How can I set the first or second column to be expanded on the free space os set a fixed width on all columns? ...

Where can I find a GUI designer for Python?

Does anyone know of any GUI designer for python like Glade but for windows? ...

glade aboutDialog doesn't close

I have an AboutDialog box made in glade, but the Close button doesn't work. I don't know how to connect this button to a separate function, since it sits in a widget called dialog-action_area. Another problem is if I use the close button created by the window manager, I can't open it again because it has been destroyed. How can I cha...

How to install Glade in Mac OSX Leopard

How can I install Glade in Mac OSX Leopard? I haven't found any guide that really helped me. Thanks! ...

Is there a Python library that allows to build user interfaces without writing much code?

I am writing editing front ends in Python since several years now, and I am fed up with micromanaging every UI detail of a window or dialog every single time. Is there a technology that allows me to, say, specify the relations between a GTK+ Glade-designed interface and the tables and records of an SQLite database to do all the middle m...

What are the steps to convert from using libglade to GtkBuilder? (Python)

Hi, I have a small project that uses libglade and use the following to load the xml file: self.gladefile = "sdm.glade" self.wTree = gtk.glade.XML(self.gladefile) self.window = self.wTree.get_widget("MainWindow") if (self.window): self.window.connect("destroy", gtk.main_quit) dic = { "on_button1_clicked" : self.button1_clicked, ...

drawing a pixbuf onto a drawing area using pygtk and glade.

Hi, i'm trying to make a GTK application in python where I can just draw a loaded image onto the screen where I click on it. The way I am trying to do this is by loading the image into a pixbuf file, and then drawing that pixbuf onto a drawing area. the main line of code is here: def drawing_refresh(self, widget, event): #clear the...

What is the best/fastest way to learn GLADE with C?

I just downloaded and installed GLADE. What are some good tutorials for the C language? ...

How do I find out what GDK events are required for a GTK+ signal?

I'm using Glade-3 for my GUI design, but I keep hitting this problem. I don't see anything in the GTK+ documentation mapping signals to events or in Glade-3 (3.4.5). Is there a place in the GTK+ source code to find this information? Note: It is important in this question to recognize that events and signals are NOT the same thing in GTK...

Why is the first toolbar button automatically selected when my gtk application loads?

When my gtk application loads, the first item on the toolbar is automatically selected (it is highlighted, it is pressed when it hit enter). This is just a minor problem, but I would prefer for nothing to be selected by default. Here is some basic sample code: import gtk import gtk.glade window_tree = gtk.glade.XML('testtoolbar.glade'...

where can I find GladeGen?

I'd like to design a GUI using Glade, and generate python code from it. The thing is, I can't find GladeGen. Does anyone know where it can be downloaded from? ...

On GNU/Linux systems, Where should I load application data from?

In this instance I'm using c with autoconf, but the question applies elsewhere. I have a glade xml file that is needed at runtime, and I have to tell the application where it is. I'm using autoconf to define a variable in my code that points to the "specified prefix directory"/app-name/glade. But that only begins to work once the applic...

ruby glade/gtkbuilder example?

hello I was using ruby and glade2 to design the user interface for a while in the new version of glade3 i can use gtkbuilder format to generated xml file instead of libglade. is there any example? i searched google but i had no luck! ...

Tutorials/References/HowTos to learn Glade GTK+ with Ruby?

Hello all, I am trying to design some simple GUIs with Glade to use with Ruby. I am not having so much luck finding tutorials/references on how to actually interface glade with Ruby however. I have found maybe 1 or 2 hello world tutorials that show how to use a button to change a title of a window but is there a reference that tells me ...