Re: Polar drawing widget, gearwheel drawing

2014-06-22 Thread Arne Pagel
. So the reset of the applications have to follow now, but its anyway time... regards Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Polar drawing widget, gearwheel drawing

2014-06-20 Thread Arne Pagel
not the right solution for my purpose. Any Suggestion for me? thanks Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: widget to represent dial/speedometer kind of object

2013-12-10 Thread Arne Pagel
A while ago I used the Guages from the Megatunix Project: http://sourceforge.net/projects/megatunix/ On 10.12.2013 10:30, Mahesh Chaudhari wrote: > Hi list , > > is there any widget available to represent meter/dial/speedometer kind of > object, needle of which rotates dynamically with magni

gtk_tree_model_get end of Line marker

2012-10-07 Thread Arne Pagel
the examples would be updated, at lot of headache of many people could be avoided. -- Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Best way to busy-wait in Python 3 / Gtk+ 3?

2012-10-07 Thread Arne Pagel
. -- Arne Am 07.10.2012 11:23, schrieb jcup...@gmail.com: On 6 October 2012 15:48, Filip Lamparski wrote: However, the thumbnail loading process takes a long time, so I want to put it into another process, with the GUI displaying a spinner or a progress bar until the loading finishes. Sorry, I

Re: Gtk_Tree_View, drawing speed

2012-09-27 Thread Arne Pagel
://sourceforge.net/projects/megatunix/ They mad some very cool gauges which I used a few years ago, with also more then 10Hz, and acceptable CPU Load, even on a weak Industrial PC regards Arne Am 27.09.2012 13:27, schrieb Vlad Volodin: Hello Arne, Is it really necessary to refresh updates 400 times

Re: gtk_tree_view/store, best way to select all nodes of a branch

2012-09-26 Thread Arne Pagel
mfh; int *ind; ind = gtk_tree_path_get_indices (path); gtmfh.func = func; gtmfh.index = *ind; gtmfh.user_data = user_data; gtk_tree_model_foreach (model,foreach_indices,>mfh); } Am 12.09.2012 10:54, schrieb David Nečas: On Wed, Sep 12, 2012 at 10:40:11AM +0200, Arne Pagel wrote:

Re: Gtk_Tree_View, drawing speed

2012-09-26 Thread Arne Pagel
ests per second is not the design goal of the program. But later I want to have many structured objects in the treeview with an acceptable update rate and not 100% CPU load. regards Arne Am 26.09.2012 10:51, schrieb jcup...@gmail.com: On 26 September 2012 07:09, Arne Pagel wrote: Do yo

Gtk_Tree_View, drawing speed

2012-09-25 Thread Arne Pagel
above things. Do you see any other option? regards Arne. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Synchronization of gtk_tree_store add/remove events

2012-09-19 Thread Arne Pagel
s here? The rest of the > description would make much more sense to me then. Sorry you are right. In fact in my application I has 2 TreeViews, one with all Objects, and one tree-model-filter for the selected Objects, there it is more a "deselect". Anyway, resulting

Synchronization of gtk_tree_store add/remove events

2012-09-19 Thread Arne Pagel
olumn visible flag this will not be noticeable. I allready have 18 columns in the treestore, this would be the 19th, no problem or? Well, If there is no other Idea, thanks for listening. regards Arne ___ gtk-app-devel-list mailing list gt

Re: gtk_tree_view/store, best way to select all nodes of a branch

2012-09-19 Thread Arne Pagel
Thanks, for this hint Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtk_tree_view/store, best way to select all nodes of a branch

2012-09-12 Thread Arne Pagel
, but I have to use a lot of string functions. Is there a smarter way to do that with less overhead? regards Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gtk_tree_view/store, best way to select all nodes of a branch

2012-09-10 Thread Arne Pagel
actions on all childs is a common use case. For example if you look to a file browser and it's copy function, it copies the current node and in case this node is a directory entry all child nodes also have to be copied. Do you have any hint fo

docking GTK3

2012-04-23 Thread Arne Pagel
Hello, I read about some possibilities to add docking capability to gtk using gdl. (http://www.micahcarrick.com/gdl-docking-gtk.html) Is there any build in solution available or planned within GTK3? regards Arne ___ gtk-app-devel-list mailing

Re: Simple Html-View widget

2011-09-11 Thread Arne Pagel
You mean using a label instead of a text view then? Or can I use gtk_label_set_markup() together with a text-buffer? A label can use Pango-Markup language, but I didn't find a way to make a newline using a markup. When parsing xml, all line-ends are ignored. regards, Arne Am 11.09.20

Simple Html-View widget,

2011-09-09 Thread Arne Pagel
oblem. regards Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Export GTK-Plot to PNG, without showing

2010-12-08 Thread Arne Pagel
GtkOffscreenWindow solved my problem http://library.gnome.org/devel/gtk/stable/GtkOffscreenWindow.html regards Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Export GTK-Plot to PNG, without showing

2010-12-04 Thread Arne Pagel
, what is shown and when something is rendered. Can I create a gdk-pixbuf and using the gtk-plot functions to draw directly into it? I read something about gdk-pixmap, but I don't know how I can tell the gtk-plot functions to uses this as canvas. Any other Ideas? regards

Re: GDK-Pixbuf question, creating and reading private data-chunk for png

2010-12-03 Thread Arne Pagel
Thank you for your answer, with your hints I found two links from which I build the function below which works for me so far: http://zarb.org/~gc/html/libpng.html http://rawstudio.org/svn/rawstudio/trunk/plugins/output-pngfile/output-pngfile.c /** This function hopefully does something li

GDK-Pixbuf question, creating and reading private data-chunk for png

2010-12-02 Thread Arne Pagel
? Using libpng with png_set_unknown_chunks() ? Is there any examplke of how I get GDK-IMAGE-DATA to libpng? regards Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtk_main_quit() causes sigfault (win32)

2010-11-16 Thread Arne Pagel
r prepare() member. GLib-WARNING **: g_main_context_check() called recursively from within a source's check() or prepare() member. I will try a simple demo Program to verify if my code causes this. regards Arne ___ gtk-app-devel-list mailing lis

gtk_main_quit() causes sigfault (win32)

2010-11-15 Thread Arne Pagel
error. Any Idea? regards Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Creating own stock image library

2010-10-27 Thread Arne Pagel
m a glade-file (as xml string for gtkbuilder). Is there already a tool for this purpose? regards Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Creating own stock image library

2010-10-10 Thread Arne Pagel
Hello, I created some special icons for my application. Now I want to reduce the files needed by the application, and therefore I want to compile the needed images in the binary output. What would be the best way to do that? How is this done with the gtk-stock-images? regards Arne

Re: Re: Colored Statusbar, ugly grip under win32

2010-08-30 Thread Arne Pagel
looks different than on my linux system with 2.18.3. Now I tested the application with the 2.18 release on the windows system, and the resize grip looks OK. I did not spcified a theme. regards Arne - original Nachricht Betreff: Re: Colored Statusbar, ugly grip under win32

Re: Colored Statusbar, ugly grip under win32

2010-08-26 Thread Arne Pagel
under win32? Then I could try to switch to the older version to provide more detailed information. regards Arne --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel

Re: Colored Statusbar, ugly grip under win32

2010-08-25 Thread Arne Pagel
libpng_1.4.0-1_win32 libpng-dev_1.4.0-1_win32 zlib_1.2.4-1_win32 zlib-dev_1.2.4-1_win32 gtk+_2.20.0-1_win32 gtk+-dev_2.20.0-1_win32 regards Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app

Colored Statusbar, ugly grip under win32

2010-08-23 Thread Arne Pagel
screenshots, comparing same project under win (gtk 2.20) and linux (gtk older): http://www.pagelnet.de/scope/scope_win.png http://www.pagelnet.de/scope/scope_lin.png Has someone an idea what I can do here, or where I can report this? regards Arne

Re: Treeview, different Cell-render per row

2010-07-10 Thread Arne Pagel
x27;s "visible" property. Tadej Hello, thank you for your answer, The first part is easy, but I don't know how I should "connect" it to the visible property. Do you know an example project where this is done? Regards Arne ___ g

Treeview, different Cell-render per row

2010-07-06 Thread Arne Pagel
a new column for the GtkCellRendererToggle, and just show it when needed. Is it possible to hide a one of the renderer? regards Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gt

Treeview, start editing with any Key, not just Enter or space

2010-07-06 Thread Arne Pagel
which works with single instead of double click, but not a solution with just pressing key's. Is there an easy way to do this? regards Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listin

Re: gtk_file_chooser_hangs

2009-07-09 Thread arne
any problems, I just need to change the dll's, and the File-chooser works. Can someone Tell me where I can find the Source of the File-Chooser? Perhaps I could try to compile it with some Debug-Output. Best regards Arne ___ gtk-app-devel-list m

gtk_file_chooser_hangs

2009-07-08 Thread arne
Problem earlier this year, but it is not solved yet. http://mail.gnome.org/archives/gtk-app-devel-list/2009-January/msg00075.html Any Idea what I can do? Best regards Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: Hiding a GtkDialog and Cancel Callback

2009-05-02 Thread arne
Hello, The problem is solved , I just have to set: False in glade in everything is OK regards Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Hiding a GtkDialog and Cancel Callback

2009-04-22 Thread arne
e/suggestion > can you try to stop event driving after your callback (to stop do any > additional things after your click). Hm, how could I stop event driving, and what will be the effect (interrupting gtk_main)? Best Regards Arne ___ gtk-app

Hiding a GtkDialog and Cancel Callback

2009-04-22 Thread arne
tk exactly works) Has someone an Idea? Regards Arne p.s. all that happens under win32 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Speeding Up libglade

2009-04-08 Thread arne
you using > GtkBuilder ? I will move to GtkBulider when Glade 3.6 and GtkBuilder is available for win32. When I have some time, I will try to compile them with MinGw. regards Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gn

Re: Speeding Up libglade

2009-04-06 Thread arne
Hello, I am not sure if this solution will save time, If I understood everything right, the xml-parser of libglade must parse in both cases. but isn't it possible to store the output of glade_xml_new() to a file and just load it to memory at startup? regards

Speeding Up libglade

2009-04-05 Thread arne
where can I get this build of libglade or if there exist a patch? Is there another way to speed up libglade? best regards Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Not receving Signals from gtkhsclae

2009-03-17 Thread Arne Pagel
eceive the Signal! The rest of the application works fine, I use a lot of Signals and callbacks, i googled and tried and check, but without success. Can someone give me a hint? regards Arne -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx

best way to display small images which can change up to 10 times per second

2009-02-25 Thread arne
to self-made images. What is the best way to display small images which can change up to 10 times per second? At the moment there are only two states, i want to display, e.g. a red and a green light. Best regards Arne ___ gtk-app-devel-list mailing

Centering gtk-status-bar-label

2009-01-20 Thread Arne Pagel
ges: (config.exe:5612): GLib-GObject-WARNING **: invalid cast from `GtkFrame' to `GtkMisc' (config.exe:5612): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion`GTK_IS_MISC (misc)' failed Has somone an idea what could be wrong? regards Arne -- Pt! Schon vom neuen GMX MultiMessenger

Re: GtkFileChooser and filter example

2009-01-20 Thread Arne Pagel
GtkWidget * dlg; GtkFileFilter * ff, * ffa; int ret; char * name; dlg = gtk_file_chooser_dialog_new("Select File",GTK_WINDOW(gui.window),GTK_FILE_CHOOSER_ACTION_OPEN,GTK_STOCK_CANCEL,GTK_RESPONSE_CANCEL,GTK_STOCK_OPEN,GTK_RESPONSE_ACCEPT,NULL); ff = gtk_file_filter_new(); gtk_fil

[no subject]

2009-01-20 Thread Arne Pagel
ect-WARNING **: invalid cast from `GtkFrame' to `GtkMisc' (config.exe:5612): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed Has somone an Idea what could be wrong? regards Arne -- Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL

Suggestion, adding a valid glibconfig.h to win32 download bundle

2009-01-16 Thread arne pagel
ts what is to take care for. Best regards, Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtk_file_chooser_hangs (win32 libgdk-win32-2.0-0.dll)

2009-01-16 Thread Arne Pagel
n bug? Can i help to debug? regards Arne -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/ma

gtk_file_chooser_hangs (win32 libgdk-win32-2.0-0.dll)

2009-01-15 Thread arne . pagel
dll's (libgdk-win32-2.0-0.dll and libgtk-win32-2.0-0.dll) from August 26, everything works fine. With the new one from January 8 I have the problem. An idea what could be the problem? regards Arne -- Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL für nur 16,37 Eur

Cross-Platform text edit with printing

2006-01-23 Thread Arne Caspari
should run on Win32 and on Linux. Can anybody give me a hint on what might be the easiest way to do this? Thanks, /Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Signal blocking

2006-01-05 Thread Arne Caspari
is called from inside a signal handler itself. Is it possible that signal emitted from a signal handler are delayed until the signal handler returns? If so, how do I cancel the emitted signal? /Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list

Signal blocking

2006-01-05 Thread Arne Caspari
**/ But the value_changed callback is called anyways. How do I temporarly disable the signal handler? Thanks, /Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GtkFileChooser and case sensitive filters

2005-09-30 Thread Arne Skjaerholt
your case /(?:iso|toc|cue)$/). Arne :wq ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Colors in a tree view

2005-08-29 Thread Arne Caspari
Hi! I want to change the color of the text in single entries of a tree view. Does anybody know how to do this? Thanks, /Arne ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Signal when the content of a GtkEntry is changed

2005-08-17 Thread Arne Skjaerholt
ignals are documented at http://www.gtk.org/api/2.6/gtk/GtkEntry.html#id2987035). Arne :wq ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Problems compiling on OS X

2005-08-13 Thread Arne Skjaerholt
be able to fix this problem? Thanks in advance, Arne :wq ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Properly closing GIOChannels?

2005-02-08 Thread Arne Skjaerholt
It lives! (insert mad cackling, the crackle of lightning and divers alarums here). The problem was indeed that I called unref a time or two too many. Thanks a bunch for the help. Arne :wq ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Properly closing GIOChannels?

2005-02-07 Thread Arne Skjaerholt
h call to g_io_add_watch and one final time to make the refcount zero so the object is freed */ g_io_channel_unref ( io_channel ); g_io_channel_unref ( io_channel ); g_io_channel_unref ( io_channel ); Thanks in advance, Arne :wq ___ gtk-app-devel-l