On Sat, Nov 24, 2018 at 09:59:00AM +0100, Pierre Neidhardt wrote:
> Hi Gergely,
>
> > So if you change your handler’s return type from `void` to `gboolean`
> > and return `FALSE` if the lisp thingy doesn’t understand your key, it
> > will be automatically propagated to the next handler (which, hop
Hello,
from the manual
(https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget-key-press-event),
the signature of key-press-event handlers is:
```
gboolean
user_function (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
```
From the same manual:
My take would be to ignore this specific line with a magic comment. Or, if
you really donʼt want to d that, a
from importlib import import_module # isnʼt that line wonderful?
Gtk = import_module('gi.repository.Gtk')
might do the trick.
(Note that I wrote it without having Python at hand; maybe y
On Fri, Jun 2, 2017, 20:57 infirit wrote:
> On 20/05/17 16:27, Gerald Nunn wrote:
> > I'm looking for some advice on alternative solutions that would fit my
> > needs. In an ideal solution, the thumbnails would be updated real time
> > similar to the windows in gnome-shell when you go into overvi
Hello,
I don't know about others, but in my own code, my_obj_set_property() does
nothing else just calls the setter functions (and the same for getters). It
makes much more sense, and I saw it in a lot of Gtk and Gnome code, too.
Best,
Gergely
On Wed, Jan 4, 2017, 19:27 Tobias Knopp wrote:
> H
It would be helpful to see your exact use case. If you put only buttons in
your GtkBox, you will be fine with gtk_dialog_add_button(). If you add
other, more complex widgets, there might be a design flaw in your
application. Solutions in between might be OK, but without knowing what you
want to ach
Hello,
I have no knowledge of Java/Swing, but based on your requirements I guess
you need FlowBox[1].
Best,
Gergely
[1] https://developer.gnome.org/gtk3/stable/GtkFlowBox.html
On Mon, Sep 12, 2016, 16:35 Daniel. wrote:
> Hi everybody,
>
> I have a library implementing some protocol. That libr
Hello,
how exactly do you play the video? Do you open a separate video player like
Totem, or you embed it somehow to your main window?
Best,
Gergely
On Tue, Sep 6, 2016, 21:00 Mark Farver wrote:
> I am using GTK3 with Weston/Wayland and when I play a video using
> gstreamer my main window lose
Hello,
this makes me wonder why you need these coordinates?
If you want to set the window size to the maximum, then just maximize it.
If you want to move it around automatically, like put it on the center of
the screen, don't do that. There are situations, e.g. for users with
multiple monitors o
Can you also show us your widget hierarchy like Lucas did? The problem you
outline should not happen in a usual hierarchy.
On 22 Sep 2015 22:11, "Subsentient" wrote:
> GTK 2, using C calls.
>
> On 09/22/15 08:52, Gergely Polonkai wrote:
>
> Before anyone could actually a
Before anyone could actually answer:
• what version of GTK are you using?
• how do you build your window? Are you using plain C calls, or some UI
builder like Glade?
Best,
Gergely
On 22 Sep 2015 02:33, "Subsentient" wrote:
> When I resize the window, I'm having difficulty finding a way to make
I don't think it is a bad idea per se. Here are some ideas from me:
• it should be either turned off by default
• or it should warn the user like »hey, you are going to paste multiple
lines, are you sure?« with an option to silence such warnings
Also I remember a warning, maybe from ViM that warn
have anything to
discuss with me we can do that in private, and I hereby grant you to
publish our discussions with my name if we do so.
I still hope your problem gets solved, as I can see the use case and the
annoyance of your users.
Wishing you the best,
Gergely Polonkai
2015-06-07 23:18 GMT+02
Hello,
I’m sorry to say that, but I find your name very appropriate in this case:
*Ignorant* Guru. You seem to ignore every statement that says something
else that you do.
GNOME is not a Red Hat product. It is a GNOME Foundation product, if you
want to put it anywhere. It is led by several develo
Hello,
I'm afraid this is not possible to do it this way; you will have to create
some kind of wrapper widget. I would go on with GtkStack, and for the tabs
themselves you may take a look into GtkStackSwitcher's source code.
Best,
Gergely
On 9 Feb 2015 14:43, "Leo Ufimtsev" wrote:
> Hello,
>
>
My first thought is that Perl and Glib::Object::Introspection is just fine.
If I were you, I would further debug my own application, with something
like refdbg (http://refdbg.sourceforge.net/ despite the looks, it still
works nowadays) or GObject-list (https://github.com/danni/gobject-list
haven’t
Hello,
How big is the memory increase? set_text() allocates memory for text, which
might be the cause.
Best,
Gergely
On 1 Jan 2015 22:55, "Colin Myers" wrote:
> Hello list,
>
> I've been wrangling with a leak in my Pygobject/Gtk application and
> believe the following lines of python demonstrat
Isn't plplot an option for you? TL;DR, but it seems it can serve that
purpose you need it for.
On 2 Dec 2014 18:10, wrote:
> On 2 December 2014 at 16:17, Sergei Naumov wrote:
> > I think this question was asked many times but googling gives a rather
> patchy
> > answer to it. So, I am writing a
>
> Thanks,
> --
> Damien SANDRAS
>
> Ekiga Project
> http://www.ekiga.org
>
>
> ___
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Bes
quot; wrote:
> On 10/07/2014 09:18 AM, Gergely Polonkai wrote:
>
>> Mnemonics are discouraged by the HIG, and AFAIK they are not displayed by
>> recent
>> GTK versions.
>>
>> From the user's perspective, I think there is no difference. However, if
>>
Mnemonics are discouraged by the HIG, and AFAIK they are not displayed by
recent GTK versions.
From the user's perspective, I think there is no difference. However, if
you are using GApplication/GtkApplication, it is easier to register accels,
and you can even make them easily customizable for the
concept, I'd like to introduce
gtk_button_new_from_icon_name() :) For this, you need GTK 3.10, though, but
it's a shorthand for the above.
Personally, I prefer using Glade/GtkBuilder, although Glade doesn't support
some of the newer widgets, and gives you hard times with other stuff.
Hello,
you have to change the GtkTable object class to a GtkGrid (obviously).
Also, (x|y)-options and (x|y)-padding are not present in the GtkGrid,
so you have to remove those packing definitions (child properties).
If you have multiple GtkTables with lots of children, I don’t think
there is an “
2014 09:32, Gary Kline wrote:
> =
> Organization: Thought Unlimited. Public service Unix since 1986.
> Of_Interest: With 28 years of service to the Unix community.
>
> On Sat, Sep 06, 2014 at 08:08:34AM +0200, Gergely Polonkai wrote:
>> On 6 Sep 2014 03:12, "Gary Kline"
On 6 Sep 2014 03:12, "Gary Kline" wrote:
>
> =
> Organization: Thought Unlimited. Public service Unix since 1986.
> Of_Interest: With 28 years of service to the Unix community.
>
> things that I *thought* might work by using
>
> s = gtk_label_get_text(GTK_LABEL((GtkWidget)buf));
>
he Unix community.
>
> On Thu, Sep 04, 2014 at 12:32:06AM +0200, Gergely Polonkai wrote:
> > Hello Gary,
> >
> > do I get it right, you want to manupulate/query the labels upon
> > keypresses? Like when the user presses the Up arrow, fetch the text of
> > the fir
Hello Gary,
do I get it right, you want to manupulate/query the labels upon
keypresses? Like when the user presses the Up arrow, fetch the text of
the first label and print it somewhere? In that case, I’d like to know
if you have a GtkApplication with GtkApplicationWindows, or “just” a
simple GtkW
27 matches
Mail list logo