Dear Reuben,
thanks for your answer.
> And after you study the MVC pattern, you will see why the whole
> Treeview stack works the way it does. Google MVC and Gtk MVC. It is
> worthwhile reading if you plan on constructing treeviews. It may not
> make sense immediately, but eventually you may see
I have had very similar experiences with liststore.clear() in
Python3.5 and Mint 18. To work around this I do:
store = treeview.get_model() #may not be necessary in your code
treeview.set_model(None)
store.clear()
store.append('my string or etc')
treeview.set_model(store)
This works. Disconn
Dear Reuben,
thanks for your hint.
On 2018-07-03 21:19 Reuben Rissler wrote:
> I have had very similar experiences with liststore.clear() in
> Python3.5 and Mint 18. To work around this I do:
>
> store = treeview.get_model() #may not be necessary in your code
> treeview.set_model(None)
> store
On 07/03/2018 05:30 PM, c.buhtz--- via gtk-app-devel-list wrote:
Hello
I observer an interesting behavior (PyGObject, Gtk3.0, Python3.6,
Debian unstable with XFCE desktop):
An item (row) in a TreeView is selected (highlighted).
Then calling .clear() on the TreeView causes an select-event for ea
Hello
I observer an interesting behavior (PyGObject, Gtk3.0, Python3.6,
Debian unstable with XFCE desktop):
An item (row) in a TreeView is selected (highlighted).
Then calling .clear() on the TreeView causes an select-event for each
item (row) below that selected item (row).
Am I right here?
___
I am not sure that the center two lines are necessary. And you have to
get the height and width of your image to use in line 2.
But maybe this will give you some ideas.
For capturing events, I enclose my image area in a Gtk::EventBox and set
events on the eventbox
add_events(Gdk::EXPOSURE_MAS
Some years ago, I used GtkGlArea in C with:
GtkWidget *gl_area = gtk_gl_area_new ();
gtk_widget_add_events (gl_area, GDK_BUTTON_PRESS_MASK);
g_signal_connect (gl_area, "button-press-event",
G_CALLBACK (button_press), molecule);
s
On 02.07.2018 22:11, Johannes Bauer wrote:
> I'm writing a small toy application that uses OpenGL. Actually
> converting it from GLUT to GTK/GL. I'm using a glade 3.22.1 generated UI
> with Gtk 3.22.30 from Python3.
So that you can see what I'm doing (wrong), here's the full source code
of my stu
Hey list,
I'm writing a small toy application that uses OpenGL. Actually
converting it from GLUT to GTK/GL. I'm using a glade 3.22.1 generated UI
with Gtk 3.22.30 from Python3.
I'm having two issues: The more pressing one is that I cannot seem to
figure out how to capute mou
Hi,
I have a service that runs a gtk main loop using g_main_loop_run(). I'd
like to know when the machine is about to be put into a suspend state,
ideally before the screen gets locked.
Are there any glib signals I can connect to for this? If not, should I
be using dbus to listen for org.freedesk
u, Aug 3, 2017 8:13 am
Subject: GdkPixbuf and click events
I have a program that adds a GdkPixbuf to a GtkTextView. I would like to right
click on the image and capture the mouse click event and execute a callback
function. Is there any way of achieving this using GdkPixbuf?
Thanks,
Ferdinand
Op 08/03/2017 om 12:02 AM schreef Ferdinand Ramirez via gtk-app-devel-list:
> I have a program that adds a GdkPixbuf to a GtkTextView. I would like to
> right click on the image and capture the mouse click event and execute a
> callback function. Is there any way of achieving this using GdkPixbuf
I'm not sure it will work, but have you tried wrapping the pixbuf in a
GtkEventBox?
On 08/02/17 18:02, Ferdinand Ramirez via gtk-app-devel-list wrote:
I have a program that adds a GdkPixbuf to a GtkTextView. I would like to right
click on the image and capture the mouse click event and execut
I have a program that adds a GdkPixbuf to a GtkTextView. I would like to right
click on the image and capture the mouse click event and execute a callback
function. Is there any way of achieving this using GdkPixbuf?
Thanks,
Ferdinand
___
gtk-app-devel
> "button-press-event" occurs outside my window
> application? Is there any way to connect an
> extern mouse event with my gtk application?
So, other people may know more about this, but here's what I can find.
You can g_signal_connect() the focus-out-event.
https://developer.gnome.org/gtk3/stabl
How can I destroy a window when mouse event "button-press-event" occurs outside
my window application? Is there any way to connect an extern mouse event with
my gtk application? Can someone help me?
Regards.
La @universidad_uci es Fidel. Los jóvenes no fallaremos.
#HastaSiempreComandante
#Hastala
I added some logic and after that I got a warning that there is a
mismatch between cairo_save and cairo_restore. So I fixed that and I got
it working. The cairo logic was faulty all the time but only some new
lines of code triggered that warning.
So I guess I was just lucky that I stopped debugging
In Gtkmm (C++) you can overload the on_draw() function with your own.
This might give you a foothold in the on_draw() routine that is called
after a redraw event occurs. I guess in GTK you would have to connect a
callback function to the "draw" signal. Might help.??
jim...
On 2016-11-28 0
Hi,
Why don't you link against the debug version of the library so that it shows
you the complete stack?
It will give you some extra clues on why the segfault is happening.
Regards,
Alfonso Arbona
On November 29, 2016 6:17:05 AM GMT+09:00, zahlenm...@gmx.de wrote:
>For a custom widget I have a
This was one of the first things I did. Debug compilation option, debug
CFLAGS, no stripping - without a change. The backtrace only shows 3
lines, my draw function and two from libc.
The faulty address is not null. But the segfault happens after the
return where all local variables are no longer in
For a custom widget I have a draw function. I do some drawing there and
when I am finished I return FALSE to let the parent draw. Immediately
after the return statement I get a segfault. gdb's backtrace only shows
my draw function and an address I cannot associate to any object.
Are there some gene
Dear all,
thanks for your help and advise, I found out what I was doing wrong,
and solved my problem, I was updating my window using:
void update ()
{
gtk_widget_hide (plot);
gtk_widget_show (plot);
}
While I should have been using:
gtk_widget_queue_draw (plot);
That solves everything, to
Hi;
On 3 October 2016 at 21:54, Sébastien Le Roux
wrote:
> Hello everyone and thanks for reading this,
> You will find the same message posted on stackoverflow by following this
> link
> <http://stackoverflow.com/questions/39837159/gtk2-vs-gtk3-signal-expose-draw-render-event
On Mo, 2016-10-03 at 22:54 +0200, Sébastien Le Roux wrote:
ad:
> * (a) GTK2 + GtkGlext : works great !
> * (b) GTK3 + X11 : works just fine !
> * (c) GTK3 + GtkGLArea : does not work :-(
> The OpenGL rendering is significantly slower in (b) than in (a) ..
> * (a) : once
> * (b) : 5 tim
Hello everyone and thanks for reading this,
You will find the same message posted on stackoverflow by following this
link
<http://stackoverflow.com/questions/39837159/gtk2-vs-gtk3-signal-expose-draw-render-events>
(or pretty much the same),
but I figured that the gtk mailing list was pr
2015-10-28 20:05 GMT+01:00 Olivier Sessink :
> Hi all,
>
> I have a PiTFT, a 2.8" capacitive touchscreen for the Raspberry Pi on
> raspbian (gtk 3.10.x). It works perfect, except that I only receive button
> events, and I fail to receive touch events. Also kinetic scrolling is
Hi all,
I have a PiTFT, a 2.8" capacitive touchscreen for the Raspberry Pi on
raspbian (gtk 3.10.x). It works perfect, except that I only receive button
events, and I fail to receive touch events. Also kinetic scrolling is not
working. What can I do to fix this?
I tried various things t
On Sat, 2015-09-26 at 19:15 +0100, Emmanuele Bassi wrote:
> Hi;
>
> GTK 3.6 is not the latest version for Windows. We don't provide
> binary
> packages any more, but you can use the MSYS2 project to get a build
> of the
> latest stable version of GTK - one that is not hopelessly out of date
> like
oblem: I'm trying to handle Touch Events coming from a
> touch screen but I'm not able to get them form the GTK event system.
> I'm able to catch all the others events (mouse, scroll, keys) but not
> touch.
> There is someone who can help me?
>
> Here, there is the c
I'm working on a multiplatform project and I decided to use GTK3 both for
Windows and Linux because of its availability on these os.
I'm using the last distribution for windows (GTK 3.6 package) but I have
the following problem: I'm trying to handle Touch Events coming from a
touch
hi everybody,
I am one of the maintainers of xournal (http://xournal.sourceforge.net/)
Xournal is note taking and PDF annotation software, currently using gtk2
I have been trying to port it gtk3. So far I have most of the work done,
but the area of device handling is one that I am struggling wi
Hi,
Thank you for your help, guys. Finally I tried with goocanvasmm and
everything works fine, as I wanted. There are some simple examples in the
libgoocanvasmm-2.0-doc package for Ubuntu, so I could deal with the problem
:) The most similar example there is "moving_shapes".
Thank you!
__
There is another solution that I have used extensively, which is to draw
the cairo commands twice. Once for the actual drawing, and once again in an
offline image (called label image), with the following differences:
1. Use solid colors corresponding to "labels" of the different graphical
co
On Mon, 2013-07-01 at 17:42 +0200, Borja Mon Serrano wrote:
>
> The problem with (4) is drag&drop. I think it could be very difficult to
> deal with it, so I'm going to try the third solution, with goocanvasmm. Do
> you know any example of use of goocanvasmm?
>
Yes, drag&drop may be not very ea
Hi Colomban
This is probably the simplest solution, it's meant for this kind of things.
>
> 4 - Handle the events yourself: listen to the
> button-press-event/button-release-event of your DrawingArea and do the
> math to know whether the click is on your circle or not. Maybe
;t think Cairo has this kind of thing. It's a library for drawing,
not interacting with the drawing.
> 2 - Every time I click to create a circle, I would have to create a gtk
> widget in which I can handle mouse events. The problem here is that I think
> it is impossible to put a wid
button and have
different mouse events on that circles (like drag and drop, double click,
right click...). I've made the first thing (draw a circle after pressing a
button) following the official
documentation<https://developer.gnome.org/gtkmm-tutorial/3.2/chapter-drawingarea.html.en>,
On 17/05/2013 11:29, Tristan Van Berkom wrote:
This is a good question, actually I haven't used this feature since
GTK+2... I'd be curious to know the answer but here is my input
anyway.
Tristan,
Thanks so much for responding. I will try your suggestions and perhaps
clarity will come in time.
This is a good question, actually I haven't used this feature since GTK+2...
I'd be curious to know the answer but here is my input anyway.
Your application doesn't do much between is_hint events, so it could
be that if you were slow handling the hint events, you might receive
Anyone?
\d
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi,
(Like in idiot I sent the first version of this to the wrong list!)
Hi, I'm new to GTK (and Vala). This is a Gtk+3.x question.
Can anyone explain why the event->is_hint always seems to return 1?
AFAICT the HINT_MASK is supposed to reduce the number of motion events
*and*
This is the answer to my question, which was out of the mailing list. I
wanted to share it with everybody.
Forwarded Message
From: Arvind Kumar
To: Göktuğ Kayaalp
Subject: Re: Gtk key events
Date: Tue, 22 Jan 2013 08:15:34 -0600
No problem in you sharing it.
The reason it
On 09/19/2012 09:44 PM, Arne Pagel wrote:
> Dear all,
>
> I have an application where I use a tree-view to display some data from
> an external hardware.
> Different Objects can be added or removed to the treestore, each
> existing object in the treestore has a specific
> id which is used to get d
> Anyway, I think GtkTreeRowReference is what you need – a thing that
> points to a specific row that may not exist anymore and it had a method
> to tell whether the row still exists.
Thanks, I didn't know this functions, I will try it.
> Did you mean deletes instead of deselects here? The rest
On Wed, Sep 19, 2012 at 09:44:28PM +0200, Arne Pagel wrote:
> I have an application where I use a tree-view to display some data
> from an external hardware. Different Objects can be added or removed
> to the treestore, each existing object in the treestore has a specific
> id which is used to get
which is under all circumstances is not inconvenient for the user requires a
queue to store the add / deselect events.
For my feeling this is to much overhead for just this function, does anyone see
an other alternative?
Maybe there is existing some g_lib stuff for this?
In my current implementati
-estimated (guestimate) about the state of the keyboard's
keys.
2 mouse state
The framework must pick up all the keyboard related X11 events including
focus-notify and key-press/key-release.
The update event is triggered by a time-out event.
___
gt
mån 2012-03-19 klockan 13:37 -0800 skrev Christopher Howard:
> So, you mean, receive both key press and key release events, and then
> maintain my own tracking of whether or not the key is currently being
> held down? Okay, that makes sense to me, provided of course I can be
> certain
On 03/19/2012 06:54 PM, Arvind Kumar wrote:
> I am not on the list but saw your message and read the thread.
>
>> However, the approach I was hoping for, i.e. simply checking the
>> current "reality" state of a key (whether it is actually pressed down
>> or not) sounds more convenient. If anyone c
On Mon, 19 Mar 2012 13:37:45 -0800
Christopher Howard wrote:
[snip]
> So, you mean, receive both key press and key release events, and then
> maintain my own tracking of whether or not the key is currently being
> held down? Okay, that makes sense to me, provided of course I can be
>
On 03/19/2012 12:49 PM, Chris Vine wrote:
> On Mon, 19 Mar 2012 20:35:33 +0100
> David Nečas wrote:
>> On Mon, Mar 19, 2012 at 07:25:22PM +, Chris Vine wrote:
>>> Are you saying that on your hardware, holding one key down blocks
>>> press and release events
On Mon, 19 Mar 2012 20:35:33 +0100
David Nečas wrote:
> On Mon, Mar 19, 2012 at 07:25:22PM +, Chris Vine wrote:
> > Are you saying that on your hardware, holding one key down blocks
> > press and release events for all other keys? I am not saying you
> > are wrong, but I
On Mon, Mar 19, 2012 at 07:25:22PM +, Chris Vine wrote:
> Are you saying that on your hardware, holding one key down blocks press
> and release events for all other keys? I am not saying you are
> wrong, but I find that surprising.
IMO Christopher observes this:
1) press A
2) pres
me. In my
> >> game it is possible (quite likely) that two keys will be held down
> >> at the same time (especially the up arrow and another arrow) e.g.
> >> to turn and to accelerate at the same time. Currently I monitor
> >> for key press events as you say; the pro
'm currently attempting to code a simple space combat game. In my
> game it is possible (quite likely) that two keys will be held down at
> the same time (especially the up arrow and another arrow) e.g. to
> turn and to accelerate at the same time. Currently I monitor for key
>
k_event_get_keycode() and keep state.
>>>
>>> Chris
>>
>> I'm currently attempting to code a simple space combat game. In my
>> game it is possible (quite likely) that two keys will be held down at
>> the same time (especially the up arrow and another
wo keys will be held down at the
same time (especially the up arrow and another arrow) e.g. to turn and
to accelerate at the same time. Currently I monitor for key press events
as you say; the problem is that key press events are only being
generated for the last key that was pressed. So if a user a
ght, and so forth. Strictly speaking what I am concerned
> > with is whether or not the key is held down, but this seems to work
> > because the key event gets repeated.
> >
> > However, if one of the arrows is held down, and another arrow is
> > pressed, then it shuts
the key is held down, but this seems to work because the key event
> gets repeated.
>
> However, if one of the arrows is held down, and another arrow is
> pressed, then it shuts off events for the first arrow. That's bad, of
> course, because in my game the player may want to hold
_Left, GDK_KEY_Right,
and so forth. Strictly speaking what I am concerned with is whether or
not the key is held down, but this seems to work because the key event
gets repeated.
However, if one of the arrows is held down, and another arrow is
pressed, then it shuts off events for the first
Hi everyone,
I'm trying to write an app with GtkClutter and facing a problem with
mouse events on clutter actors. I can't get them to fire on actors but
they work just fine on stage.
Here is the the question on SO. I'm linking it only because the code
is well formatted there. Feel
e Save-As case.
> >=20
> > The order of operations is something like:
> >=20
> > 1. File monitor exists on the document file which was loaded last
> > 2. User hits File->Save as.. (and enters a filename)
>
> ^__ Just as an interesting (and probably crit
ritical note), I don't see
this bug if I hard-code a Save-as filename.
I only get unexpected file-monitor events if I use a
gtk_file_chooser_dialog to select the new filename to save into.
I'm presuming that this dialog (or some IO plugin) may use
g_file_monitor, or threads, or SOMETHING
On Tue, 06 Sep 2011 01:42:43 +0100
Peter Clifton wrote:
> I'm working on some code to monitor for file changes in our
> application, and ran into a bit of a problem today with the Save-As
> case.
>
> The order of operations is something like:
>
> 1. File monitor exists on the document file which
On Tue, 6 Sep 2011 11:40:59 +0100
Chris Vine wrote:
> On Tue, 06 Sep 2011 01:42:43 +0100
> Peter Clifton wrote:
> > I'm working on some code to monitor for file changes in our
> > application, and ran into a bit of a problem today with the Save-As
> > case.
> >
> > The order of operations is so
Hi,
I'm working on some code to monitor for file changes in our application,
and ran into a bit of a problem today with the Save-As case.
The order of operations is something like:
1. File monitor exists on the document file which was loaded last
2. User hits File->Save as.. (and enters a filena
I am working on a simple linux/gnome/gtk/cairo/ruby application similar
to http://www.ssalewski.de/PetEd-Demo.html.en
I want to get POINTER_MOTION events when mouse pointer is in my GTK
drawing area.
When I call add_events() for my drawing area with flag
Gdk::Event::POINTER_MOTION_MASK I get
I am trying to adapt
> it to GtkDrawingArea as the parent_class.
>
> However, the button_press_event code is no longer activated within the
> custom widget now that it's a drawing area. How do I activate it?
>
> I know with an ordinary GtkDrawingArea if I want to add
> but
, the button_press_event code is no longer activated within the
custom widget now that it's a drawing area. How do I activate it?
I know with an ordinary GtkDrawingArea if I want to add
button-press-events to use gtk_add_events, but the code that uses the
custom widget shouldn't need to do this
Hi,
You were right, the camera driver is running in a different thread, and
driver callbacks happen outside the GTK+ lock. Thanks.
solarsd
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-de
Hi.
Are you using threads in your application? Problems like this usually
arise when you don't initialize GLib/GDK thread subsystems.
Tadej
--
Tadej Borovšak
tadeboro.blogspot.com
tadeb...@gmail.com
tadej.borov...@gmail.com
___
gtk-app-devel-list mail
Hi,
I'm not sure, if I'm doing this right (and I'm new to GTK+), but here is
what is giving me trouble.
I have a drawing area where I show images acquired with a USB-connected
camera. The camera driver provides a hookup for a callback function, that
gets called each time a new image is acquired a
So instead of using a GdkNativeWindow to send to (which doesn't gel with client
side windows anyway) I thought I'd go looking for someway of sending a GdkEvent
to a GtkWidget... and I found one! gtk_propagate_event does what I want but
it's synchronous. I would like a asynchronous version, that
I'm trying to catch a client event on a GtkWindow.
static gboolean MyClientEvent(GtkWidget *widget, GdkEventClient *ev,
MyWnd *Wnd)
{
// breakpoint here...
return TRUE;
}
GtkWidget *Wnd = gtk_window_new(GTK_WINDOW_TOPLEVEL);
p used to be very
stable a couple of months ago and I have checked all the last
changes I have made lately. So the
question is: could all this relate to an upgrade to Karmic or a
newer version of pulseaudio?
I know that gtk handles events from windows and bu
nges
I have made lately. So the
question is: could all this relate to an upgrade to Karmic or a newer
version of pulseaudio?
I know that gtk handles events from windows and buttons and so does
pulseaudio. Could it possibly
be a bug in pulseaudio on ubuntu (instead of in my app?) Doe
cessfully. Then
my app used to be very
stable a couple of months ago and I have checked all the last changes
I have made lately. So the
question is: could all this relate to an upgrade to Karmic or a newer
version of pulseaudio?
I know that gtk handles events from windows and buttons and so does
ery
stable a couple of months ago and I have checked all the last changes
I have made lately. So the
question is: could all this relate to an upgrade to Karmic or a newer
version of pulseaudio?
I know that gtk handles events from windows and buttons and so does
pulseaudio. Could it possibly
be a
his relate to an upgrade to Karmic or a newer version
of pulseaudio?
I know that gtk handles events from windows and buttons and so does pulseaudio.
Could it possibly
be a bug in pulseaudio on ubuntu (instead of in my app?) Does anyone have an
idea of what's going on?
Thanks for the links. I'm gonna try parasite and will compile gtk from
source with debugging enabled.
What made me think that maybe there was a mess with events is that I have
one dialog in the app to setup preferences. This dialog have a lot of entries
and extra buttons. And I have an
I'm using gcc (v4.4.1) on ubuntu (linux kernel 2.6.31-18.)
By the way, I was just reading the gtk doc on events when I found
something saying that it was a common mistake to forget to use
gtk_widget_set_events(). well, I've actually never used this function.
Could this be the reason o
@gnome.org
[mailto:gtk-app-devel-list-boun...@gnome.org] On Behalf Of Manu TM
Sent: Wednesday, January 27, 2010 1:29 PM
To: GTK mailing list
Subject: gdk events stuff debugging
Hi,
This may be a not specific enough question but what's the best way to
debug a gtk app? I've been debugging one with
Hi,
This may be a not specific enough question but what's the best way to
debug a gtk app? I've been debugging one without much success for about
2 weeks now and I think there are problems related to callbacks and gdk
events handlers because I always get segfaults from gkd_events_dispa
Hello.
> I'm trying to display a popup status window while my application does a
> search. It works, but only appears after the search is done because I'm not
> flushing the requests and processing the events. What is the right way to do
> that in GTK?
It would probably b
I'm trying to display a popup status window while my application does a
search. It works, but only appears after the search is done because I'm not
flushing the requests and processing the events. What is the right way to do
that in GTK?
--
Chris Bare
ch...@ba
Sorry but the discussion was accidentally become private.
-- Forwarded message --
From: Matteo Landi
Date: Sat, Dec 26, 2009 at 4:51 PM
Subject: Re: Simulate button press events
To: Michael Libby
On Sat, Dec 26, 2009 at 3:22 PM, Michael Libby
wrote:
> On Thu, Dec 24, 2009
Hi all,
as the subject says, I'm trying to synthesize mouse clicks over the
focused window (which is now owned by my application). Looking around
it seems that gtk offers only a way to move the cursor
(gdk_display_warp_pointer) but there is anything related to button
press. For the moment I'm using
Actually it is a ComboBoxEntry that you need, which is derived from a
ComboBox:
http://library.gnome.org/devel/gtk/stable/GtkComboBoxEntry.html
This is just a combination of a Entry with a ComboBox, so if you know
how Entry and ComBox works, changing a Combo to a ComboBoxEntry should
be relati
frederico schardong wrote:
Hi,
I search, but not find the answer of my question..
What event is going on when the string selected of a GtkCombo is chenged?
From Gtk documentation:
|GtkCombo| has been deprecated since version 2.4 and should not be used
in newly-written code. Use GtkComboBo
Hi,
I search, but not find the answer of my question..
What event is going on when the string selected of a GtkCombo is chenged?
--
Abraço,
Frederico Schardong,
SOLIS - O lado livre da tecnologia
www.solis.coop.br
___
gtk-app-devel-list mailing list
g
There is a way to prevent Parents from receiving the button events.
When we register for button-press through
g_signal_connect_closure_by_id(.., .., .., .., .., true/false) API, we
can specify whether we can receive the event 'before' the event
actually occurred, or 'after' the
Hi all,
I do not want parents in the widget tree to see the button and motion events
of the children, how should I do to achieve the goal?
Is it right for just not calling the gtk_propagate_event() function?
TIA,
Tony
___
gtk-app-devel-list mailing list
receives mouse button press events but not
release or motion events. The intent is to allow users to select items
in the lower window to expand them or scroll around. I have used
gtkparasite to confirm that the lower scrolled window has the button
release event mask (actually, it has all masks). I
Hi all,
I do not want parents in the widget tree to see the button and motion events
of the children, how should I do to achieve the goal?
Is it right for just not calling the gtk_propagate_event() function?
TIA,
Tony
___
gtk-app-devel-list mailing list
On Tue, Apr 7, 2009 at 6:05 AM, Dov Grobgeld wrote:
> Since hex characters only has an alphabet of 16 characters, you can draw
> these once into separate pixbufs, and then use gdk_pixbuf_copy_area() to
> draw the prerendered characters to the screen. If you have the memory you
> can e.g. create 2
need it.
>
>There are also a number of custom widgets that implement
>spreadsheet-style grids you can search for.
>
> Some more testing has made it clear to me that the problem I am having is
> not that I am not getting the events, but that gdk_draw_layout(), which I
> am
&
problem I am having is
not that I am not getting the events, but that gdk_draw_layout(), which I am
calling many times per update, is too slow. I found some posts from a few
years ago that this was hundreds of times slower than XDrawString(), and I
have verified that it is much slower. Of course
Efraim Yawitz wrote:
> Hi,
>
> I am trying to port a Windows application to Linux with GTK+ and an
> important part of the GUI is a grid displaying a hex dump of memory which
> must be constantly updated.
>
> I am implementing this using a gtk_drawing_area
You might want to implement this hex du
a total of 128 calls per
update. I'm drawing to a pixmap, and then drawing the pixmap to the actual
window. I realized that this might be a slow way to do things, but I was
surprised by the fact that the slowness that I'm seeing seems to be based on
the fact that the button and key even
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
ttblue wrote:
> Using gtk on an embedded unit with a touch screen.
>
> I would like to boot up my application and if the screen is touched
> anywhere be able to see that.
> Then I can show a calibration screen.
>
> My question is how do I get to se
1 - 100 of 241 matches
Mail list logo