I have developed an application using GTK+3.10. What copy-write protection can
you (GTK+) provide for me. I have been told that copywrite is free and
automatic and that to protect the software from piracy I need sufficient money
to prove prior usage in a court of law. I don't see how the
I don't know the format, size, etc. of the images that you are working with.
There are a few things that can affect the time it takes to move image data
around. GTK should be able to handle the problem well though.
Try setting up a test environment with a frame counter and a timer on your
Greetings,
I am trying to create a program that has a notebook with several images. I
want to be
able to grab the corner of the window and expand or contract the image size,
maintaining aspect ratio of any image on any notebook page. The following
is my latest attempt. However, this program auto
>
>
> in GTK3, this is almost certainly not the best way to do this. You want to
> use a frame timer based on the refresh/vblank cycle of the monitor.
Yes you're right, I just meant to give the base idea.
..I think that gtk_widget_queue_draw_area() enqueues a redraw at the next
frame clock tick,
On Wed, Aug 1, 2018 at 8:52 AM, Luca Bacci via gtk-list
wrote:
> I should point out that the draw_func may be called by Gtk whenever it
> needs,
> The best is to have the timer callback change the "current" bitmap and call
> gtk_widget_queue_draw_area().
> Then on the drawing callback of the
On Wed, Aug 1, 2018 at 9:44 AM, Luca Bacci via gtk-list
wrote:
> I suggest you use GStreamer, you can build a video by pushing bitmap
> frames and it does everything else for you.
>
> Otherwise, you can animate a DrawingArea. Set up a 60hz timer on your own.
> The timer callback simply calls
>
I should point out that the draw_func may be called by Gtk whenever it
needs,
The best is to have the timer callback change the "current" bitmap and call
gtk_widget_queue_draw_area().
Then on the drawing callback of the drawing area you just paint the
"current" bitmap.
2018-08-01 15:44
I suggest you use GStreamer, you can build a video by pushing bitmap frames
and it does everything else for you.
Otherwise, you can animate a DrawingArea. Set up a 60hz timer on your own.
The timer callback simply calls
gtk_widget_queue_draw_area()
On Wed, Aug 1, 2018 at 3:45 AM, Paul Davis wrote:
>
> 60Hz is a reasonable common refresh rate, but it's not universal, and you
> probably should not rely on it being the context in which your program runs.
>
... I'm not, the update is driven by frame decoding elsewhere. I
pointed it out because
On Wed, Aug 1, 2018 at 12:18 AM, R0b0t1 via gtk-list
wrote:
> Hello,
>
> I have bitmaps being generated by a process and need to display them
> at ~60Hz.
just a quick note: you don't get to control the refresh rate.
your screen update refresh rate is independent of GTK+. All modern GUI
10 matches
Mail list logo