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

2009-01-15 Thread arne . pagel
Hello, i updated my mingw with the new All-in-one bundle on gtk download page. Now i have the problem, that the gtk_file_chooser is not working anymore in my application under win32. I get just a sandglass-curser over it. I get no warning or errormessage on the console. When I am taking older

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

2009-01-16 Thread Arne Pagel
Hello, Yes, ther are some strange removable devices with size 0. They are there since i am constraind to use this machine with a operatingsystem i don't really like. I tryed to romove these strange devices, but i dont know how. But even if, the file-chooser should not hang. Is this a known

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();

Centering gtk-status-bar-label

2009-01-20 Thread Arne Pagel
Sorry, forgot Subject, Hello, I use a gtk-status-bar where i want to center the label. Following code worked: gtk_misc_set_alignment(GTK_MISC(GTK_STATUSBAR(gui.statusbar)-label),0.5,0.5); But since I updated to the new gtk-download-bundle (for win32) I get following error-messages:

[no subject]

2009-01-20 Thread Arne Pagel
Hello, I use a gtk-status-bar where i want to center the label. Following code worked: gtk_misc_set_alignment(GTK_MISC(GTK_STATUSBAR(gui.statusbar)-label),0.5,0.5); But since I updated to the new gtk-download-bundle (for win32) I get following error-messages: (config.exe:5612):

Not receving Signals from gtkhsclae

2009-03-17 Thread Arne Pagel
Hello, In my application (win32) I want to use a gtkhscale. I created the application with glade: widget class=GtkHScale id=hscale1 property name=visibleTrue/property property name=can_focusTrue/property property name=adjustment90 0 100 1 10 10/property property

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

2010-07-06 Thread Arne Pagel
Hello, I have a simple treeview, with three columns, all with GtkCellRendererText. I want to start editing a cell by pressing any key (expect arrow key's), not just enter, space or double click. I want the same behavior which is known form spreadsheet applications. I found a solution which

Treeview, different Cell-render per row

2010-07-06 Thread Arne Pagel
Hallo, I have a simple treeview, with three columns, all with GtkCellRendererText. Now I want, in some special row's, a GtkCellRendererToggle, is this possible? Do I have to write a custom renderer, in which I call the RendererText or the RendererToggle? My other Idea was to make a new

Re: Treeview, different Cell-render per row

2010-07-10 Thread Arne Pagel
Tadej Borovšak schrieb: Hi. My other Idea was to make a new column for the GtkCellRendererToggle, and just show it when needed. Is it possible to hide a one of the renderer? This is how I would do this. Just add one gboolean column to your data store and connect it to cell renderer's visible

Colored Statusbar, ugly grip under win32

2010-08-23 Thread Arne Pagel
Hallo I have an Application which uses an GtkStatusBar with resize grip. I wanted to change the background color of the resize grip, so I put the Statusbar into an eventbox. Since the new 2.20 Win32 Bundle, the Resize Grip locks ugly with modified background color, have a look at following

Re: Colored Statusbar, ugly grip under win32

2010-08-25 Thread Arne Pagel
Ok, Version on my linux box: pkg-config --modversion gtk+-2.0 2.18.3 Version on win32 (ugli resize grip): gtk+-bundle_2.20.0-20100406_win32/components.list gettext-runtime-0.17-1 gettext-runtime-dev-0.17-1 glib_2.24.0-2_win32 glib-dev_2.24.0-2_win32 pkg-config_0.23-3_win32

Re: Colored Statusbar, ugly grip under win32

2010-08-26 Thread Arne Pagel
Tor Lillqvist schrieb: Version on win32 (ugli resize grip): And the versions with the non-ugly resize grip? 2.18.3, is result from pkg-config --modversion gtk+-2.0 don't know how I get more detailed information on Linux System Do you know the appropriate libraries for the resize grip under

Re: Re: Colored Statusbar, ugly grip under win32

2010-08-30 Thread Arne Pagel
Hello, I made some further checks, and now I can say, the resize grip gets ugly between 2.18 and 2.20 on windows system. resize grip OK: http://www.pagelnet.de/scope/scope_lin.png gettext-runtime-0.17-1 gettext-runtime-dev-0.17-1 glib_2.22.4-1_win32 glib-dev_2.22.4-1_win32

Re: Creating own stock image library

2010-10-27 Thread Arne Pagel
Dov Grobgeld schrieb: I use gdk-pixbuf-csource in my build system to generate c-files from my icons that I then insert into the source list of programs. Thank you for this hint, I integrated it into my build process and it works fine for me now. I wrote a small tool to make a c-file form a

gtk_main_quit() causes sigfault (win32)

2010-11-15 Thread Arne Pagel
Hello, I have an gtk-application running on a win32 System, the application uses gtkbuilder and normal gtk-widgets. The application causes a sigfault when gtk_main_quit() is called, but just when the application is terminated over the windows taskbar- right mouse-click on application-icon -

Re: gtk_main_quit() causes sigfault (win32)

2010-11-16 Thread Arne Pagel
valgrind I will look if I get this running on win32. But much simpler: I didn't notice before that there where some glib warnings, when I activate the win32 Taskbar entry of my program: GLib-WARNING **: g_main_context_prepare() called recursively from within a source's check() or prepare()

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

2010-12-02 Thread Arne Pagel
Hello, I am using gdk_pixbuf_save to store a gdk_drawable into a PNG File. Now I want to add a private data-chunk to PNG to store some additional Information. Is it possible to add a private data-chunk with GDK functions? If not, what do you think would be the best way to create this file?

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

Export GTK-Plot to PNG, without showing

2010-12-04 Thread Arne Pagel
Hello, I have an application which uses GTK-Plot in following manner: canvas = gtk_plot_canvas_new() my_plot = gtk_plot_new_with_size() child = gtk_plot_canvas_plot_new(my_plot) gtk_plot_canvas_put_child(canvas,child) however, I can capture the visible plot with gdk_pixbuf_get_from_drawable

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

Simple Html-View widget,

2011-09-09 Thread Arne Pagel
Hello, in my application I store some Text data in xml files. Some nodes are displayed via a gtk-label or an gtk-entry, others are displayed via a gtk text-view. Now I want to extend the text-view (and storage) with the capability to handle some formated text. I just need things like bold

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

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

2012-09-10 Thread Arne Pagel
Dear all, I am currently searing for the best method to perform an action on one nodes of a branch in a treestore. At the moment the user just selectes one row of my treeview, so I have to determine if this node is part of a branch and then selecting all other nodes of the branch. I found

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

2012-09-12 Thread Arne Pagel
My current simple solution is as follows: I use the gtk_tree_model_foreach() function and pass some user data with the current major number of the tree-path. Inside the foreach-function I use gtk_tree_path_to_string, where I check if the first number is identical to the user data. This works,

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

Synchronization of gtk_tree_store add/remove events

2012-09-19 Thread Arne Pagel
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 data over some communication interface. It can

Gtk_Tree_View, drawing speed

2012-09-26 Thread Arne Pagel
Dear all, as you might remember from my questions before, I have an application where I use a tree-view to display some data from an external hardware. At the moment the Data are fetched, displayed and the data for the next row in the tree view are fetched. For example, if I have 12 Objects

Re: Gtk_Tree_View, drawing speed

2012-09-26 Thread Arne Pagel
Thank you for this hint, I tried it and indeed I notice a speedup, but just factor ~1,3. There must be something more. I removed all columns expect the Value column, and now I notice a speedup factor of ~3, if I remove just one column, is see a speedup factor of ~2. Now I am sure that there is

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

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

Re: Gtk_Tree_View, drawing speed

2012-09-27 Thread Arne Pagel
Hello Vlad, an update frequency about 400Hz is absolutely not necessary, and I agree that no human could follow that. My Target is 100ms. This gives an acceptable picture, even if I use later progress bars for visualization. You will defenitliy notice a difference between 100ms and 33ms. If I

gtk_tree_model_get end of Line marker

2012-10-07 Thread Arne Pagel
Dear all, because of my lazy programming style I sometimes forget or overwirte the comma before the -1 end of line marker for the gtk_tree_model_get or gtk_tree_store_set function. This error can usually not be detected by the c-compilers, so that I had to spend some really unnecessary time

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

Polar drawing widget, gearwheel drawing

2014-06-20 Thread Arne Pagel
dear all, I have some Gtk Applications (in C) and now I want to add a functionality for displaying kind of gearwheels with different number oft teeth. Basically this should be an visual support for parameter editing, maybe as a wizard. The gearwheels doesn't have to be very fancy, but I need

Re: Polar drawing widget, gearwheel drawing

2014-06-22 Thread Arne Pagel
Dear all, thanks a lot for all your comments, I played a little bit with cario and it works out quit well: http://www.pagelnet.de/tmp/pinion.png Looks much better then my trails with gtkextra and the polar plot. Since most examples I found where based on GTK3 I moved also to GTK3 for this