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
0
votes
1 answer

How do I load a widget in an adjacent pane when a toolbutton is clicked?

I am trying to create a GTK python app for configuring settings and I have been looking at creating a GTK design for the app using Glade. So far I have created a design with 5 notebooks and it looks somewhat like this: However, I actually want to…
jokerdino
  • 2,047
  • 1
  • 25
  • 31
0
votes
2 answers

Treeviews with Glade (Gtk Gui editor)

I'm looking for a way to make a tree with glade. I've already found how to manage lists with all kind of stuff in it, but I can't figure how to properly let an element have childs. I tried by going into the hierarchy tab, and then drag columns and…
Gwen
  • 1
  • 1
0
votes
1 answer

Set label in Glade/PyGTK dialog window

Using Glade to quickly code up a simple GUI, and I'm trying to create a generic error dialog in which I can set a label's text to whatever the error is. Pretty straightforward in typical GUI development (get the child form, set label's caption…
erik
  • 3,810
  • 6
  • 32
  • 63
0
votes
1 answer

How to add widget to glade file?

I want to create some entry box in a window. But I must create them with some elements from a xml file. So I must create dynamic entry boxes in window. I cannot do it with glade. Because the number of boxes can change by elements. How can i add…
0
votes
1 answer

PyGTK object that displays text

I am searching for a GTK Object that displays a text (only one line), but I need the text to be bigger than in a Statusbar (and maybe that I can change the font and italic/bold etc). Normally, I created a GTKStatusbar that displays a text when I…
slashcrack
  • 123
  • 8
0
votes
1 answer

How can I set an icon for a quickly application?

How can I set an applications image (icon) in my canonical-quickly project? Even if I set the icon path in Glade, the UI designer, my icon doesn't show up. In the aplications bar of my desktop I only see a gear. I used the following relative path in…
slashcrack
  • 123
  • 8
0
votes
2 answers

Python2/Pygobject/Gtk3/Glade3 check TextView focus

I'm designing a text editor-esque application using Python2.7 and Gtk3, and I'm not very sure on how to set up a handler to check if the main TextView is currently in focus, so I can disable menu items (e.g. Edit -> Copy etc.) accordingly. In order…
Nick Hu
  • 43
  • 3
0
votes
1 answer

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

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…
Javed Ahamed
  • 2,804
  • 6
  • 32
  • 41
0
votes
1 answer

GUI in haskell using gtk2hs and glade

I have created a GUI using gtk2hs and glade and then passed it to haskell code in the main::IO(). Then I have some coding for the windows say for labels, buttons and entry text. e.g., entry <- xmlGetWidget xml castToEntry…
0
votes
1 answer

Can't insert resource file of glade to project in VS C# express

I am following this guide: http://www.mono-project.com/GtkSharpBeginnersGuide it tells me to create a glade file (main.glade in my case), however when I insert it in my project in visual studio I always get this exception: Cannot get resource file…
Petr
  • 13,747
  • 20
  • 89
  • 144
0
votes
2 answers

replace image using gtk.image.set_from_file

I'm trying to add and if needed by user, change the image from a widget in python. I'm using Glade with gtk2+, python 2.7.3, and these is what I'm doing image = gtk.Image() image.set_from_file("MyImagePath.png") image.show() button =…
Gustavo Lima
  • 83
  • 2
  • 6
0
votes
1 answer

Update status bar when receiving message?

I am quite new to GUI design and struggle to communicae with my core application. I have a Thread that I use to run my core code. It is started when the user clicks on a start button. On the other side, I have my gui; and I would like it to be…
jlengrand
  • 12,152
  • 14
  • 57
  • 87
0
votes
1 answer

Quickly/Glade autoadjust text position

In Quickly/Glade, is it possible to keep the text (well, labels) centered, so when I maximize my program's window, the text stays centered? It's probably something easy to do, but I have been unable to find where to auto-adjust the position. Any…
Compt
  • 103
  • 2
0
votes
1 answer

GTKSocket, widget, and glade

I have the following code: builder = gtk.Builder() builder.add_from_file(glade_file) builder.get_object("windowMain").show() socket = gtk.Socket() socket.add_id(long(OpenGLWindowID)) …
Sardathrion - against SE abuse
  • 17,269
  • 27
  • 101
  • 156
0
votes
1 answer

Installing VisualRuby on a MAC

I'm trying to understand how to install visualruby on a MAC. I work in ubuntu, and I've developed install instructions for Ubuntu and Windows, but I don't know the corresponding instructions for the MAC: http://visualruby.net/Download I know that…
user1182000
  • 1,625
  • 14
  • 12