For anyone that wants to try to reproduce it, you can clone this
repo and switch to the meson branch:
https://github.com/bilelmoussaoui/tilix
Myself and some others are looking at replacing autotools in
Tilix with meson for the various Linux distros to use when
building and packaging the binary. However we are running into an
issue with meson around the use of the "-L--export-dynamic" flag.
When compiling with meson using LDC and th
On Saturday, 28 April 2018 at 17:20:46 UTC, Jonathan M Davis
wrote:
On Saturday, April 28, 2018 16:36:41 Gerald via
Digitalmars-d-learn wrote:
[...]
In general, you just use auto, but that's not going to work if
you can't directly initialize the variable. In that case, the
s
What is the appropriate way to create a variable for the range
returned by RedBlackTree lowerBound and upperBound. For example,
given this code:
```
RedBlackTree!long promptPosition = redBlackTree!long();
long row = to!long(vte.getVadjustment().getValue());
RBRange!(RBNode!long*) range;
if (di
On Wednesday, 7 March 2018 at 10:51:49 UTC, CSim wrote:
Hi,
I'm trying to decide whether it is better to use DLang for Gtk
development or Vala/Genie.
When I make a simple Vala/Genie Gtk executable the file is tiny
whereas the DLang file is huge. First I used the default Dub
build and the f
On Saturday, 5 August 2017 at 15:08:21 UTC, Johnson Jones wrote:
I am trying to get the handle size of panned. Not sure if I'm
doing it right but
[...]
I'm using this in Tilix:
Value handleSize = new Value(0);
paned.styleGetProperty("handle-size", handleSize);
On Friday, 4 August 2017 at 21:54:26 UTC, Johnson Jones wrote:
On Friday, 4 August 2017 at 15:24:51 UTC, Gerald wrote:
On Friday, 4 August 2017 at 15:08:27 UTC, Mike Wey wrote:
[...]
Mike I had contributed the makeddox.sh script awhile ago, it
generates much nicer documentation then candydoc
On Friday, 4 August 2017 at 15:08:27 UTC, Mike Wey wrote:
Improving the documentation is something i want to do but there
are always some more important things to do. Like the
Questions/Issues you posted earlier.
So unless somebody volunteers it won't happen anytime soon.
Mike I had contribu
On Monday, 10 July 2017 at 14:03:59 UTC, Jacob Carlborg wrote:
On 2017-07-10 15:37, Gerald wrote:
Having said that, I'm in the camp where this doesn't make much
sense. Using fibers on the main UI thread is likely going to
result in a blocked UI whenever a fiber takes too long to do
its work.
On Sunday, 9 July 2017 at 19:43:14 UTC, Christian Köstlin wrote:
I wonder if there is any fiber based / fiber compatible
UI-Toolkit out for dlang. The second question is, if it would
make sense at all to have such a thing?
As previously noted, like other UI toolkits GTK maintains a
single thr
On Saturday, 10 December 2016 at 17:54:58 UTC, aberba wrote:
On Thursday, 8 December 2016 at 20:37:23 UTC, Tiberiu Gal wrote:
On Thursday, 8 December 2016 at 14:03:35 UTC, aberba wrote:
I would like to try vibe.d with mongoDB on OpenShit. I
managed to do that on Heroku. Do I need a buildpack li
I have a RegexMatch that I want to pass to a function that takes
the match and replaces various tokens in a string with the match
and/or individual groups of the match. I'm struggling to figure
out how to pass a RegexMatch to a function, right now I have code
like the follows:
RegexMatch rege
On Friday, 24 June 2016 at 12:38:37 UTC, TheDGuy wrote:
The color changing part works fine but if i use some kind of
delay the program just starts delayed but no color changing
happens. I am wondering why, because everything is executed in
one thread, so the execution order looks like this to m
On Wednesday, 22 June 2016 at 12:57:51 UTC, TheDGuy wrote:
widget.getStyleContext().listClasses() to get a list of all
classes assigned to the widget. If you just want to see if a
specific class is assigned to the widget you can use
widget.getStyleContext().hasClass()
Thanks a lot for your an
On Wednesday, 22 June 2016 at 08:08:20 UTC, TheDGuy wrote:
Hello,
i would like to know if it possible to get the CSS-class which
is asigned to a button (for example)? I didn't find any
documentation about this, just the function
"getStyleContext().getProperty()", my current attempt:
Value va
On Thursday, 16 June 2016 at 07:58:56 UTC, TheDGuy wrote:
On Wednesday, 15 June 2016 at 22:34:05 UTC, Gerald wrote:
snip...
The text color is green but the button background color is
still default-gray!
I don't see an obvious issue with your code, I usually use CSS
classes personally and I
On Wednesday, 15 June 2016 at 22:05:37 UTC, captaindet wrote:
but i just wanted to mention (in case you are not aware of it)
that the CSS can be embedded into the D source. this is what i
did to fix GTKs terrible design mistake for the background of
Notebook:
What a great tip, I never knew yo
On Wednesday, 15 June 2016 at 21:39:37 UTC, TheDGuy wrote:
On Wednesday, 15 June 2016 at 20:49:02 UTC, Gerald wrote:
On Wednesday, 15 June 2016 at 09:03:45 UTC, TheDGuy wrote:
Hello,
why does this code not work?
RGBA rgb = new RGBA(1,0.5,0.5,1.0);
Button btn_1 = new Button("Sta
On Wednesday, 15 June 2016 at 09:03:45 UTC, TheDGuy wrote:
Hello,
why does this code not work?
RGBA rgb = new RGBA(1,0.5,0.5,1.0);
Button btn_1 = new Button("Start");
btn_1.overrideBackgroundColor(StateFlags.NORMAL, rgb);
The color of btn_1 just doesn't change.
https:/
On Saturday, 16 April 2016 at 14:08:05 UTC, newB wrote:
Let's say you have decided to use D programming language. For
what kind of applications would you choose D programming
language and For what kind of applications you won't choose D
programming.
I might be in the minority opinion here
On Monday, 14 March 2016 at 07:38:43 UTC, Russel Winder wrote:
What we need here is a collection of people reviewing each
others GtkD code and having a listing board somewhere on the
GtkD site of all the codes available and what they show. It is
the annotations as much as the code itself that i
On Sunday, 13 March 2016 at 19:53:35 UTC, karabuta wrote:
On Sunday, 13 March 2016 at 19:34:36 UTC, WebFreak001 wrote:
and in the (not quite complete) documentation you can find
widgets you might want to use. Its a great place for getting
ideas on which widgets to use imo.
http://api.gtkd.org/
On Sunday, 13 March 2016 at 19:28:57 UTC, karabuta wrote:
Any help on where I can get better leaning materials(GtkD)?
Repo, blogs post, etc please
I starting learning both D and GTK back in October, I found that
a combination of looking at an example D GtkD app, Grestful
(https://github.com/G
On Saturday, 20 February 2016 at 11:36:11 UTC, Mike Wey wrote:
The documentation states we should use notifications, that
means i'll probably need to add libnotify bindings to GtkD.
Though sending notifications using DBus is also possible.
(https://developer.gnome.org/notification-spec/)
Depe
On Tuesday, 2 February 2016 at 15:59:06 UTC, Atila Neves wrote:
Slots are named: the methods are slots. Signals can be named if
you use only one struct as the parameter, as above. The signals
would be String1 and String2, the slots watch1 and watch2.
What I meant is that the connect call didn'
On Monday, 1 February 2016 at 21:44:28 UTC, Enjoys Math wrote:
On Monday, 1 February 2016 at 21:40:45 UTC, Enjoys Math wrote:
module signals_and_slots;
import std.algorithm: remove;
[...]
D's signals & slots:
https://dlang.org/phobos/std_signals.html
I looked at that and perhaps I'm not
Generally don't override methods in GtkD, use event handlers like
addOnDraw. Because GtkD wraps GTK functions an overriden D method
of GtkD will never get called by GTK since it is working with the
underlying C functions directly.
https://developer.gnome.org/gtkmm-tutorial/stable/sec-draw-images.html.en
Does this work for you?
On Monday, 4 January 2016 at 18:04:34 UTC, TheDGuy wrote:
On Monday, 4 January 2016 at 17:33:28 UTC, Gerald wrote:
On Monday, 4 January 2016 at 16:13:50 UTC, TheDGuy wrote:
[...]
Yes, you need it. The extern (C) function is what GDK invokes
on idle. In any GUI application there is a lot of i
On Monday, 4 January 2016 at 16:13:50 UTC, TheDGuy wrote:
Thanks for your example code. Do i need those extern (C)
function?
Yes, you need it. The extern (C) function is what GDK invokes on
idle. In any GUI application there is a lot of idle time waiting
for events, what the addThreadIdle all
On Monday, 4 January 2016 at 15:28:56 UTC, TheDGuy wrote:
On Monday, 4 January 2016 at 15:07:12 UTC, Luis wrote:
On Monday, 4 January 2016 at 14:31:04 UTC, TheDGuy wrote:
[...]
Before doing anything with threads and GTK, you should read
this :
http://blogs.operationaldynamics.com/andrew/so
On Saturday, 28 November 2015 at 10:26:58 UTC, Mike McKee wrote:
I have GtkD working just fine on Ubuntu Linux. Now I'm trying
to get it to work on my Mac with the same hello.d codebase and
hello.glade file. (Demo here:
http://stackoverflow.com/a/32535987/105539) What's the
procedure to gettin
Thanks Adam, that was the hint I needed. For a given RegexMatch
the pre().length() is essentially equivalent to the start
position and taking pre().length + hit.length() gives the end
position so I think this should be OK for my needs.
I'm using the std.regex API as part of Linux GUI grep utility I'm
trying to create. I've got the GUI going fine using gtkd, the
code to iterate over files (wow that was succinct in D, very
impressive!), and getting matches via regex using the matchAll
function.
I'm stuck though on how to get
34 matches
Mail list logo