Hi,
as nobody answered my question and I couldn't find a solution online,
I decided to do some more research.
I carefully studied the source code for GtkPrintOperation and finally
answered my own question.
I'm posting this here so it can be found by others in the futur
Hi,
I'm trying to leave my KeyPress event, but I can not.
How can I set the property Handled using a Gtk.KeyPressEventArgs ?
I'm tying set "e.Event.Handle", but that's not possible.
I appreciate the help.
João Trevisan
___
gtk-app-devel-list mailing
Hi,
> > so it would be very helpfull
> > if you could tell us the step by step procedure of installing packages
> > or reffer us some website where we could find it.
the easiest way to do this is described here:
http://www.gtkforums.c
Hi,
I need to create a "canvas" within a window. 2D square.
On this canvas I want to be able to place objects - circles, squares (possibly
small jpeg files).
I also want to be able to select these objects with a standard mouse selection
method (multiple objects at once).
What's the best way to d
> One suspicious feature is that his test
> case for GMutex starts a thread using the windows API rather than glib's
> API.
This is not a problem because glib's API is in this case only a wrapper around
Win API.
> That is not of itself an error, but it invites the question
> whether, for exampl
Hi,
I'm using glib mutexes on Windows and I think they don't work.
I tried to use WIN API mutexes instead and they did work.
Short sample program:
I initialize the WIN API mutex, then create two threads using WIN API with this
simple code:
DWORD WINAPI MyThreadFunction( LPVOID lpParam )
{
i
> > If I may ask, what is the main technical problem (deeper explanation) with
> using GTK+ from multiple threads?
>
> On Windows, the problem is that Windows GDI, being a local windowing
> system with a quite tight coupling to the client code executing on the
> same machine, is very much thread-a
> > So GIMP is a single threaded software?
>
> No, but...
>
> > There's never GTK+ multithreaded activity?
>
> Indeed.
>
If I may ask, what is the main technical problem (deeper explanation) with
using GTK+ from multiple threads?
It is probably very application specific. For instance, in m
> Od: Tor Lillqvist
> Predmet: Re: gtk 2 or 3
> Dátum: 28.10.2010 11:26:08
>
> > It's impressive to see someone promoting tech from "the other camp" :-)
>
> Why not? It isn't like it would have any impact on my personal
> happiness/income/status/reputation
Hi,
thank you all for input.
>
> Le 10/06/2010, Shawn Bakhtiar a écrit :
> > 2.2) There is probably a memory leak somewhere. Where the structure of
> > the application (the compiled code) puts that pointer outside the
> > reach of the overflow so when you re-wrote it, it magically worked
> > (vo
{
//necessary window initializations, vertical boxes, tables etc.
combobox = gtk_combo_box_new_text();
gtk_combo_box_append_text(GTK_COMBO_BOX (combobox), (const char*) "U/t");
gtk_combo_box_append_text(GTK_COMBO_BOX (combobox), (const char*) &qu
In case anyone's interested I solved the problem with a little hack.
I create the progress bar this way:
progBar = gtk_progress_bar_new();
gtk_box_pack_start (GTK_BOX (vboxGr), GTK_PROGRESS_BAR(progBar), FALSE, FALSE,
0);
gtk_widget_show (progBar));
progressBarHack(progBar);
the function progr
Hi,
I have a problem, when I try to access the GTK progress bar out of the
function it was created in.
I have a global variable
GtkWidget *progressBar;
so that I can access the progress bar from all the functions and different
files in the project.
When I initilize the bar and call functions to
hi,
I'm trying to access the treeview properties set through rc file as
below,
gboolean num = 0;
GdkColor color;
gtk_widget_style_get(treeview_widget,
"even-row-color",&color,
"allow-rul
Hello all,
We are transitioning to a platform-independent UI (i.e. using gtk). So
far, we only want to use gtk in new widgets (such as new dialogs) and
not change the main applications yet. But I am having problems
integrating my first dialog using GtkDialog.
On linux (using motif), I have gott
Hi everybody,
html in gtk
Is it possible to embibe html scripts with 'C' functions in gtk?
If it can be done,then how do v do it?
Trupthi
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gno
Hi,
I am working on gtk+1.2.10 redhat linux.
How do i use gtk_widget_show.
When i used it in the following program i got the following error:
[EMAIL PROTECTED] test]# make
gcc `gtk-config --cflags` foc.c -o foc `gtk-config --libs`
[EMAIL PROTECTED] test]# ./foc
Hi,
To write/find a function which returns the the widget on which
the current focus is,when i used the following function
GtkWidget* gtk_window_get_focus(GtkWindow *window);
The compiler(gtk+1.2.10) gave the following error:
[EMAIL PROTECTED] test]# make
gcc `gtk-config --cflags`
Hi,
I am developing an application in using gtk+1.2.10 in linux.
I am not able to carry out the following tasks:
1)TO capture the system date (using an in built function)
2)To write/find a function which returns the the widget on which
the current focus is.
3)To co
It seems by default the cursor color is always set to black. The problem is,
I've set my entry widget background to black (per user's requirement), now
the cursor is appears 'invisible', but is actually black on black. There
should be a way to set the cursor color to the text color currently in use
20 matches
Mail list logo