On Tue, 24 Oct 2006 14:39:32 +0200, Philippe Bertin
<[EMAIL PROTECTED]> wrote:
> My reasoning is that if you inhibit the user the *possibility* to tamper
> with the files you deliver, you won't have to take this into account
> when providing support. Call me a security (effectiveniss ?) freak: t
On Wed, 26 Jul 2006 06:41:38 +0200, Richard Boaz <[EMAIL PROTECTED]> wrote:
> gtk_widget_queue_draw_area(DrawingArea, 0, 0,
> DrawingArea->allocation.width, DrawingArea->allocation.height);
> while (gtk_events_pending())
> gtk_main_iteration();
> } // end while
What is the while loop fo
On Mon, 17 Jul 2006 20:10:05 +0200, Mark Richardson <[EMAIL PROTECTED]>
wrote:
> I have a multi-threaded application that I developed using gtk 2.4.1
I'm writing one of those myself, and funny things can happen. One
important rule to remember is this:
Run all your GUI stuff in one thread onl
On Tue, 04 Jul 2006 09:33:41 +0200, chao yeaj <[EMAIL PROTECTED]> wrote:
> I am writing my own gtk widget for my application
> What i want to achieve is that: when the user change the
> widget's size with his mouse,i want the widget keep this:
> height/width = 3/4 .
Hello,
this is really odd. Some time ago I spent about a week creating a custom
widget (stuff gets drawn directly into the widgets's window using GDK
primitives). All works quite well.
It's only now that I realized that I hadn't even used a GtkDrawingArea for
the purpose. I must have forgot
On Tue, 20 Jun 2006 14:59:16 +0200, Patrik Fimml <[EMAIL PROTECTED]>
wrote:
> The "instance" argument is the object (the GtkAdjustment in your case)
> on which the signal has been set. You don't need to keep the IDs, it's
> probably much easier to use g_signal_handlers_[un]block_by_func, which
>
Hello,
For argument's sake, let's consider the following situation: There are
four GtkAdjustments: A, B, C, D, with corresponding values a, b, c, d,
each linked to a GtkSpinButton (which probably doesn't matter). The
following condition is supposed to be always true: d = a + b + c.
I wrote
On Fri, 16 Jun 2006 11:03:41 +0200, Daniel Pekelharing
<[EMAIL PROTECTED]> wrote:
> I want to implement a simple startup splash screen for my app, a simple
> border-less window with an image which displays for a few seconds...
>
> It's really nothing complicated to implement, just a simple timer
Hello,
I have two questions concerning GtkSpinbuttons.
1) Can I somehow force a spinbutton to use "scientific" notation like 1e9 ?
I know I can enter values this way, but on displaying, large numbers
always get
converted into chains of zeroes.
2) Can I get rid of the up- and down- arro
...and yes, it's just the same situation if I use
gen_gui_data_CPPFLAGS instead of gen_gui_data_CFLAGS
Thanks,
--Daniel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hello folks,
this question is a bit off-topic in this group; however, it is related to
a GTK-based application I'm writing, so bear with me.
I'm trying to get automake to set a compiler flag when compiling a
specific binary. My Makefile.am looks (in part) like this:
CFLAGS = -W
On Thu, 01 Jun 2006 17:19:26 +0200, David Nečas (Yeti)
<[EMAIL PROTECTED]> wrote:
gtk_widget_queue_draw(widget) just invalidates the complete
widget window. Therefore it is [locally] idempotent and once
the main loop gets to redrawing -- which happens after all
the signal processing -- the wid
Hello,
now I that I goy my custom widget working, of course there are more
questions.
This widget has no less than five adjustments associated with it -- the
widget lets the user select a rectangular region from a large square area;
the rectangle has a center point, a width, a height, and
On Wed, 31 May 2006 18:06:08 +0200, David Nečas (Yeti)
<[EMAIL PROTECTED]> wrote:
What the assignment *area = area_null is supposed to do?
God I'm stupid. Actually, this single line would have been enough as a
reply.
Thanks for wasting your time with me. I really appreciate it.
Well, pr
On Wed, 31 May 2006 16:33:16 +0200, David Nečas (Yeti)
<[EMAIL PROTECTED]> wrote:
OK, According to the GtkDial example at
http://www.gtk.org/tutorial/
I changed over to the g_type system. Actually there wasn't much to change
except in the
cw_area_get_type() function.
Alas, I still get
On Wed, 31 May 2006 16:33:16 +0200, David Nečas (Yeti)
<[EMAIL PROTECTED]> wrote:
If the Gtk+ tutorial
http://www.gtk.org/tutorial/
mentions GtkType, GtkTypeInfo or gtk_type_unique() anywhere,
it should be immediately fixed.
Ooops -- I'm using the docs that came with my distro (Debian st
Hello folks,
I'm trying to build a custom widget, following the route that is outlined
for the "GtkDial" widget in the GTK+ tutorial. I'm already stuck at the
very beginning -- type registration. My widget is called "cw_area", and I
followed the usual naming conventions which will be helpfu
On Tue, 30 May 2006 11:16:19 +0200, David Nečas (Yeti)
<[EMAIL PROTECTED]> wrote:
To put the question simpler: Given a table and a widget within the table
(or box), how can I find the position of the widget within the table (or
box)?
To remember where you put it is usually the best solution.
Hello,
say I have a table filled with some widgets. Now I'd like to replace one
of these widgets (A) with some other widget B. I guess I just go ahead and
destroy widget A, and then attach widget B. My problem is that in order to
do that, I need to know the position (row and column) that A
On Mon, 29 May 2006 13:56:18 +0200, David Nečas (Yeti)
<[EMAIL PROTECTED]> wrote:
First of all, are you sure you want to exclude all derived
types?
Actually, I'm not. Thanks for pointing this out;
(switch+case is not possible as types are allocated
run-time).
Yeah, that's what I thought.
Hello,
I'd like to go through a number of widgets (children of a container
widget) and to perform certain actions depending on the type of the
widget. Like:
switch (widget_type) {
case GTK_ENTRY : ...
case GTK_COMBO_BOX ...
}
I'm sure it is possible but I don't know how.
S
Hello fellow developers,
currently I'm trying to design my first custom widget. The widget is
supposed to
graphically represent a rectangular area within a larger area (the widget
boundaries). The user is supposed to be able to drag, resize, and rotate
the
rectangle with the mouse, but unti
Hi there,
suppose I have a GtkHScrollbar and a GtkEntry both of which control the
same numerical quantity. Whenever the user changes the position of the
slider I want this change to be reflected in the GtkEntry and vice versa.
Obviously it won't do to connect the "changed" signals of each widget
Thanks, Gus, and everybody else, for your suggestions.
I wasn't actually /worried/ that my program would suffer a performance
hit by permanently habing to dig trough widget lists by name, it was
just a matter of taste thing. But I guess it's the best way to keep the
code clean.
--Daniel
___
Hello list,
as my Glade/GTK project is growing larger, I find myself confronted with
code organization issues. I have all my callbacks in a single file, but
of course there are groups of related widgets that logically go together
(say, the widgets inside a top-level dialog window). Also the widg
25 matches
Mail list logo