Thanks Tadej.
That's a very good reference.
(Also, thanks for creating a tutorial on using glade some years back,
which i found useful.)
dan
On Mon, May 15, 2017 at 12:25 AM, Tadej Borovšak <tadeb...@gmail.com> wrote:
> On Sat, May 13, 2017 at 05:00:43PM -0700, Dan Hitt wrote:
>>
not checking my code carefully enough)
dan
On Fri, Mar 10, 2017 at 8:33 PM, Dan Hitt <dan.h...@gmail.com> wrote:
> Thanks a million Tilo!
>
> Your example (which works compiles and runs just fine on my system)
> proves that my problem lies elsewhere.
>
> As to my gtk
> return retval;
> }
>
> Compiled with:
>
> gcc -Wall -Werror -pedantic -std=c99 \
> `pkg-config --cflags --libs gtk+-3.0` grid-test.c -o grid-test
>
> The entries in the first row are not editable this way. What GTK
> version are you using?
>
I have some entries that are inside a grid (all gtk3 stuff).
I cannot seem to make them uneditable with a call to
gtk_editable_set_editable().
I also have an entry outside the grid, which
gtk_editable_set_editable() certainly can make uneditable.
So i think the difference between the two cases
Thanks Norbert, your solution works for me.
For whatever reason, i do not seem to have to grab the focus, although
maybe i'm subtly degrading conformance to some expected behavior. I'm
too dense to see what it is, though.
Also, for me, the name "button-press-event" works just as well as
I have an gtk_entry which normally holds some text, and i would like
to capture clicks in the entry.
More exactly, i would like to capture a mouse click, and then do
something to the text in the entry depending on what modifier keys are
held when the click is made.
I've been looking through the
after
creation (which probably deep in the bowels of gtk does something).
And this also worked for me in my little app (written in the d
programming language, using gtkd which is wraps up gtk3 for d).
dan
On Fri, Nov 25, 2016 at 10:53 AM, Dan Hitt <dan.h...@gmail.com> wrote:
> Hi All
Hi All,
I'm writing a little app, and i put a right click menu in it.
The menu is created early on, but i only show it (do a show-all on it)
when button 3 (right click) is pressed.
The items in the menu have accelerator keys.
The problem is that although the accelerator keys work after the
Thu, Sep 15, 2016 at 12:52 AM Dan Hitt <dan.h...@gmail.com> wrote:
>>
>> HI All,
>>
>> I'm writing a gtk application and i would like it to listen to stdin
>> in the controlling terminal after gtk_main() is called.
>>
>> So for example, when you type a
HI All,
I'm writing a gtk application and i would like it to listen to stdin
in the controlling terminal after gtk_main() is called.
So for example, when you type a carriage return in the controlling
terminal, all the characters which have been typed since the last
carriage return are gathered
ageDialog. Three lines rather than one, but it seems
> to do what you describe.
>
>
> On 07/31/16 16:11, Dan Hitt wrote:
>>
>> For front end web development, javascript provides a very handy alert(
>> ) function.
>>
>> alert("this is a message") just
For front end web development, javascript provides a very handy alert(
) function.
alert("this is a message") just pops up a message for the user to click "ok" on.
So it's a handy one-liner to stick (temporarily or not) into a piece of code.
So i'm wondering if there's a one-line, one-argument
12 matches
Mail list logo