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
test.
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 to
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
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 to
Just notice the GTK is not thread Safe,
you might get in trouble if you make unsynchronized gtk_... calls from
different processes.
I just found one Page with some hints at this:
http://blogs.operationaldynamics.com/andrew/software/gnome-desktop/gtk-thread-awareness
In my case I followed the ru
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 u
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:
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
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 in
> 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
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 easily
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
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, b
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 som
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 list
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.2011 13:4
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 text
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
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 fr
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
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?
U
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()
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 ->
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 g
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
__
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
pkg-config_0.23-3_win3
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 w
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
pkg-config-dev_0.23-3_
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 scr
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
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 column
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 wo
Hello,
In my application (win32) I want to use a gtkhscale.
I created the application with glade:
True
True
90 0 100 1 10 10
False
and connected the Signal
glade_xml_signal_connect (xml, "on_hscale1_value_changed",G_CALLBACK
(on_hscale1_value_changed));
But i never receive the S
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:
(config.e
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
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): GLib-GObject-WARN
Hello,
I had a problem with glib because of my idea of fixing a missing glibconfig.h in my
mingw-environment :-)
(see mingw-users list "Compiler Basics..." when interested)
As far as i see the only "correct" way of getting a vaild glib-config.h is
building the glibs, right?
But why providing
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 bug?
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 dll
39 matches
Mail list logo