Questions tagged [gtkbuilder]

76 questions
0
votes
0 answers

gtk_notebook: how to obtain the tab widget from gtk_builder

Glade produces the following XML code for gtknotebook in a ui file: ... ``` ... Then in the program we can load the glade ui file using gtk_builder_add_from_file and then we can obtain the notebook by using gtk_builder_get_object…
fdesp87
  • 1
  • 1
0
votes
1 answer

Which UI designer to use with GtkSharp: Glade, GtkBuilder or Stetic?

Which interface tool would you recommend I use for creating user interfaces for GtkSharp applications? I started with Glade, because it has wrappers in GtkSharp and allows for loading widgets from resource files. But then I found advise to use…
Sergey Litvinov
  • 7,408
  • 5
  • 46
  • 67
0
votes
1 answer

Glade GTK accessing individual widgets

I constructed a database manipulating GUI using glade, for my add button hierarchy is add->confirmation dialog->(if yes)add data. how could each widget values in the main form be accessed? i am new to gtk and glade, i managed to get rid of most of…
code-jaff
  • 9,230
  • 4
  • 35
  • 56
0
votes
1 answer

simple questions about PyGTK, GTKbuilder, GTK+

Okay, I'm just starting to get into creating GUIs with python and I'm a bit confused as how how I should go forward: Should I download PyGTK or the current version of GTK+ if I'm using Python or does it matter? Concerning GUI builders, from what…
user637965
0
votes
2 answers

Application based on Gstreamer + Gtk+3 on ubuntu 18.04

What is the good and efficient language to develop a video streaming application using Gstreamer + gtk+ ?? The application which we developed has to do things notify the user whenever the some uneven behaviour occured where we are looking…
chandhu
  • 11
  • 2
0
votes
1 answer

convert gtkglade to libglade for a backwards compatibility

I have a python gtk app that I am porting to an environment that can only use pygtk2.10. pygtk2.10 doesn't not use the gtkbuilder infrastructure but rather the libglade infrastructure I have a 2 goals 1) convert the gtkbuilder glade file format to…
0
votes
1 answer

problem implementing get_filename() method for GtkFileChooser Button in glade and python?

As a newbee I am trying to create a basic theme installer using Glade and python. Everything is working fine but i am not able to find anywhere how to use get_filename() method for gtkFileChooserButton. My Glade File Looks Like this.
0
votes
1 answer

Make sure GtkWindow fits all children

How do I make sure my GtkWindow fits all children? As you can see, currently my GtkWindow can shrink to the point the children do not fit in it. I have been browsing the documentation, but there doesn't even seem to be a way to hard-code the…
Jeroen
  • 15,257
  • 12
  • 59
  • 102
0
votes
1 answer

inherited shared pointer failed to get_widget

I am using a base class in c++ to imitate interface in Java, such I don't have to repeat some code or create object for every different class I create. Basically it contains the RefPtr to a GtkBuilder, that I will use throughout the application. But…
0
votes
1 answer

c code for gtk+ vs glade generated .glade files

I am new in the field of gtk+ programming. I'm still exploring many options to use. I will be coding in C language. I have the following questions: Which is better? Writing code or using the .glade files generated by glade? Which is better to use?…
0
votes
2 answers

How can I switch between two menu bars occupying the same space below the window title in GTK3?

I like to switch menu bars depending on a button or internal state (COM port used). How can I do that in GTK3+ (preferably using Glade and GtkBuilder)? GtkOverlay does not seem to be the correct approach.
0
votes
2 answers

Gtk+3 GtkBuilder UI/XML restrict widget size

I am busy with a project on a raspberry pi, using g++ and GtkBuilder. This is not my normal programming environment so I got stuck with a rather simple problem, to specify different sizes for two objects in a container. Say the first Button should…
0
votes
1 answer

Python Glade GTKBuilder Checkbutton

How do I find if a GTKBuilder Checkbutton is checked?
Samuel Taylor
  • 1,181
  • 2
  • 14
  • 25
0
votes
2 answers

Can I add element in code so that I could get it later through Gtk.Builder()?

I use Python 3+PyGObjects+Gtk.Builder I have some window, what I create from glade: builder = Gtk.Builder() builder.add_from_file("main.ui") I create some widgets and add them(i see it in window): switch = Gtk.Switch() switch.set_name('test') hBox…
Atterratio
  • 445
  • 2
  • 9
  • 25
0
votes
1 answer

what are all the files that I need to install glade gtkbuilder and gtk - x

I am having a hard time searching for gtkbulider as it does not show up in my Debian repos, is that Glade by another name? Gtk comes in 3 different versions, 1, 2, 3. what is the best version to install to go along with what version Glade and lets…
uxserx-bw
  • 241
  • 1
  • 2
  • 10