Hi.
> But how/where do I acquire a pointer to the canvas's GdkWindow??
gtk_widget_get_window() function is probably what you're looking for.
Call this on your canvas and then force updates on it. I'm not sure
how this is called in gtkmm though, but I'm sure you'll be able to
find it.
Tadej
--
I've taken a quick look at gdk_window_flush() and gdk_window_process_updates()
but they both require me to pass a pointer to GdkWindow.
My top level 'widget' is a Gnome::Canvas (essentially an enhancement of
GktLayout, from what I can tell). My "now line" is a Gnome::Canvas::Line which
is deri
On 4 Jul 2010, at 17:51, jcup...@gmail.com wrote:
>
> What are you trying to achieve? Perhaps there's some other way to get
> the effect you need.
>
Actually John, it's the same problem that I had in my other thread (where I was
trying to draw a "now line" onto a scrolling canvas). Here's wh
- Original Message
> From: "jcup...@gmail.com"
> To: John Emmas
> Cc: gtk-app-devel-list
> Sent: Sun, July 4, 2010 12:51:52 PM
> Subject: Re: GTK/GDK equivalent to UpdateWindow() ?
>
> On 4 July 2010 16:50, John Emmas <
> href="mailto:joh
On Sun, 2010-07-04 at 16:50 +0100, John Emmas wrote:
> I'm looking for is a function that will force a window to be repainted
> at once, before any other pending events get processed.
There is hardly any reason why you would want to do that, unless you
want to write very bad code.
But if you insi
On 4 July 2010 16:50, John Emmas wrote:
> operation being processed. Neither of those is quite what I need. I'm
> looking for is a function that will force a window to be repainted at once,
> before any other pending events get processed.
There's gdk_window_process_updates():
http://library.
On 4 Jul 2010, at 16:11, Nader Morshed wrote:
> I believe you're looking for: gtk_widget_queue_draw()
>
On 4 Jul 2010, at 15:02, Alexander Nagel wrote:
>
> i'm using gtk_events_pending to realize this.
>
Thanks guys - but if I'm reading the documentation correctly I don't think
either of t
I believe you're looking for: gtk_widget_queue_draw()
On Sun, 4 Jul 2010 14:38:57 +0100
John Emmas wrote:
> Anyone who's familiar with the MS Windows API will know that it contains a
> function called UpdateWindow(). A call to UpdateWindow() forces the
> specified window's client area to be r
Hi,
i'm using gtk_events_pending to realize this.
HTH
Alexander
Am 04.07.2010 15:38, schrieb John Emmas:
Anyone who's familiar with the MS Windows API will know that it contains a
function called UpdateWindow(). A call to UpdateWindow() forces the specified
window's client area to be repain
Anyone who's familiar with the MS Windows API will know that it contains a
function called UpdateWindow(). A call to UpdateWindow() forces the specified
window's client area to be repainted immediately (i.e. bypassing any other
messages or operations that may be pending for the window). Is the
10 matches
Mail list logo