Questions tagged [gtkd]

Gtkd is a D binding and OO wrapper for the GTK+ toolkit.

Gtkd is a binding and object-oriented wrapper of the GTK+ widget toolkit for the D programming language.

37 questions
0
votes
1 answer

Why is the button not expanding to fill all the space?

I've made a tiny test GtkD DUB project (with GtkD 3.9.0 as dependency) to make a minimal reproducible example of a problem I am having in a larger project. Apparently Box is not expanding the middle Widget (in this case Button) to take all available…
DejanLekic
  • 18,787
  • 4
  • 46
  • 77
0
votes
1 answer

GtkD functions not properly displaying menus

I am experimenting with the GtkD UI library (Gtk for the D language) and have created a simple window with a menu. The code for the menu is below: class TopView : Box { MainMenu theBar; this() { super(Orientation.VERTICAL,10); …
Factor Three
  • 2,094
  • 5
  • 35
  • 51
0
votes
1 answer

Gtkd TreeModel ComboBox

I'm following the steps in this tutorial to create a TreeModel ComboBox in Gtkd (not gtkmm): https://developer.gnome.org/gtkmm-tutorial/stable/combobox-example-full.html.en But im really stuck with it. I think one way to set the ListStore to a…
Kamerad
  • 41
  • 1
  • 3
0
votes
1 answer

(dlang, GtkD) Using menubar

I copied the code in this site(https://sites.google.com/site/gtkdtutorial/#chapter2_2) and compiled it by dmd2. import gtk.MainWindow; import gtk.Box; import gtk.Main; import gtk.Menu; import gtk.MenuBar; import gtk.MenuItem; import…
user3764269
0
votes
1 answer

Getting huge error spew from GtkD on a simple program

I installed GtkD from AUR, and now I'm trying to compile this tutorial code. Both for compiling GtkD itself and the tutorial code, I'm using GDC 4.9.1. I attempted to compile the code as follows (hello.d is the file name): gdc -Wall -Werror…
Koz Ross
  • 3,040
  • 2
  • 24
  • 44
0
votes
1 answer

catch mouse press event on Notebook without touching tabs and their contents

I'm programming in gtkD on Funtoo Linux. I want to catch mouse press event in Notebook, but I would like to don't touch the tabs and their contents. I'm using function: addOnButtonPress () in Notebook, but after that the tabs aren't reorderable (…
user2149138
0
votes
2 answers

Using GtkD on Linux, how do i statically link the compiled library?

This is kind of linked to this question here: GtkD (the Gtk+bindings for the D language) why compile it? I'm using GtkD with the D programming language on Ubuntu 12.04 and i'm stuck trying to statically link the compiled libs with my program. Once…
Gary Willoughby
  • 50,926
  • 41
  • 133
  • 199
1 2
3