Questions tagged [glade]

Glade is a visual user interface designer for the GTK+ toolkit and the GNOME desktop environment.

User interface description files are saved as GtkBuilder XML files, which can then be easily loaded into a GTK+ app written in C, C++, C#, Vala, Java, Perl, Python, and others.

Although primary used on Linux, binaries are also available for Windows and Mac, and GTK+ apps developed with Glade can be written to run unmodified on Linux, Windows, and Mac.

Glade is Free Software released under the GNU GPL License

907 questions
3
votes
4 answers

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…
DaedalusFall
  • 8,335
  • 6
  • 30
  • 43
3
votes
4 answers

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?
Geo
  • 93,257
  • 117
  • 344
  • 520
3
votes
1 answer

GUI for database tables with pygtk and glade

I'm building a database front-end with python and glade. I need to present SQL query results in the form of database tables inside my app's window (schema followed by tuples/records). Both the schema and the database entries are dynamic because the…
kaiseroskilo
  • 1,719
  • 4
  • 21
  • 29
3
votes
1 answer

adding items to treeview in PyGObject

I have a GUI created in Glade, and I would like to populate the treeview widget. Here is the relevant part of my code def __init__(self): ..... self.fill_store() self.add_column(self.widget('treeview_preview')) …
v923z
  • 1,237
  • 5
  • 15
  • 25
3
votes
1 answer

gtkmm builder from glade file doesn't work

My gtkmm program won't show any windows. Compile works fine. These are the messages I get when running: (process:2312): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.24.1/gobject /gtype.c:2706: You forgot to call…
Guido Tarsia
  • 1,962
  • 4
  • 27
  • 45
3
votes
2 answers

drawing a pixbuf onto a drawing area using pygtk and glade

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…
Michael
  • 203
  • 1
  • 4
  • 10
3
votes
1 answer

ruby glade3/gtkbuilder example

I'm trying to use glade3 with Ruby, but unfortunately examples of this are few and far between. Looking at what's available, I've come up with the following code, but there's still something missing, as the window does not display. There doesn't…
paul88888
  • 336
  • 5
  • 13
3
votes
1 answer

close button in pygtk about dialog not closing dialog

I'm drawing an interface for a pygtk application using glade, and I've made an about dialog. I'm having trouble with the close button in the about dialog. The close button in the credits operates as expected, but in the about dialog the button does…
Bianca
  • 283
  • 1
  • 4
  • 15
3
votes
1 answer

Opening a pop with custom UI in python gtk

I am new to Python GTK programming. In my UI i have a button. On click of that i have to open a popup which has a three button and some label. I have to pass some variables from main window to popup window. on click of buttons on the popup window I…
Shrikanth Kalluraya
  • 1,099
  • 1
  • 16
  • 34
3
votes
2 answers

Put a digital clock in a pygtk window

Hello, I have this code for a digital clock with TKinter: #!/usr/bin/python # -*- coding: utf-8 -*- import Tkinter import time def tick(time_old, clock): # get the current local time from the PC time_now = time.strftime('%H:%M:%S') #…
AurumAustralis
  • 359
  • 1
  • 4
  • 14
3
votes
1 answer

In GTK projects, what is the difference between a '.ui' file and a '.glade' file?

I'm just starting with development of GTK applications, and took a look at some tutorials along with source code of established projects, and while tutorials designing interfaces use Glade to output '.glade' files, I see source code utilizing '.ui'…
Brian Reading
  • 449
  • 5
  • 16
3
votes
1 answer

Gtk+Glade: widgets using same signal handler. How to differ them from each other?

Now that I'm having a window including many buttons which perform similar behavior so it's natural to use same signal handler for them. But however after the signal happens I just can't differ them from each other. Yes, I have the pointer to the…
Cauly
  • 370
  • 1
  • 2
  • 12
3
votes
3 answers

GtkTreeView alternate row color

I can't set the alternate row color of a TreeView, I don't know why doesn't works. This the code MainWindow::MainWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade) : Gtk::ApplicationWindow(cobject),…
luna80
  • 173
  • 2
  • 12
3
votes
1 answer

Is GtkListbox not implemented in the current Julia Gtk.jl package?

I am using Glade to add a listbox to a window and then loading the GUI into Julia using Gtk.jl's GtkBuilder. When loading the listbox Julia considers it a GtkContainer widget rather than a listbox (listbox doesn't seem to exist in the Julia…
WPullen
  • 85
  • 1
  • 1
  • 4
3
votes
1 answer

How to use Glade to prepare ListBoxRow templates that can be created and filled programatically at runtime?

I want to use a ListBox and dynamically add rows to it. I want to have several types of rows, each with its own components and layout, and at runtime, when I need to add a row, I want to take one of these row templates, create a new ListBoxRow from…
Idan Arye
  • 12,402
  • 5
  • 49
  • 68