Re: gtk_object_unref

2001-10-01 Thread Havoc Pennington
"Jean-Christophe Berthon" <[EMAIL PROTECTED]> writes: > (I've read some older threads about it - like the one about the container - > but in my case my objects and points are drawings on a gtk-canvas and I want > to ref and unref some of the GtkCanvasItem that are shared...) > > > I hope I've

Emulate doubleclick in GtkCList?

2001-10-01 Thread Claus Trojahn
Hi,   can someone tell me, if there is a possibility to get the doubleclick event from an row of the CList. It's needed for an own file-browser     thx   claus

Re: gtk_object_unref

2001-10-01 Thread Thomas Mailund
On Tue, 2001-10-02 at 02:01, Jean-Christophe Berthon wrote: > Hello everyone, > > I'm trying to use the gtk_object_ref and gtk_object_unref function. > > I have objects which are referencing shared points. > Let say an object called A reference the point P. If P was not already > created, I'm cr

Re: [gtk] GTK on memory framebuffer?

2001-10-01 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: > This basically requires writing a widget which uses a GdkPixmap as a back > buffer. It happens that I've got just such a widget lying around, and would > be happy to send to you. It's written for 2.0, though, so it may need > some tweaking to use with 1.2 huh? GT

Re: [gtk] GTK on memory framebuffer?

2001-10-01 Thread Paul Davis
>> Can gtk act on a pure bitmap/framebuffer image (defined only as a >> data structure), or does it need to act on the actual devices of >> display? If it can operate on a raw image, we can easily do some >> blitting back and forth between two bitmaps kept in memory; the one >> not being display

Re: [gtk] GTK on memory framebuffer?

2001-10-01 Thread rsteinke
From: "Random User" <[EMAIL PROTECTED]> > > One of the projects we are looking at right now has a really tight > deadline for a customer demo. (that is, our customer wants to demo > it to somebody else) We are putting together a clunky demo unit for > the first pass as a proof of concept. It ru

Re: [gtk] GTK on memory framebuffer?

2001-10-01 Thread Havoc Pennington
"Random User" <[EMAIL PROTECTED]> writes: > Can gtk act on a pure bitmap/framebuffer image (defined only as a > data structure), or does it need to act on the actual devices of > display? If it can operate on a raw image, we can easily do some > blitting back and forth between two bitmaps kept

Bizarre Notebook behavior

2001-10-01 Thread Jeff Shipman - SysProg
I'm trying to set up my notebook so if the tab's label isn't sensitive, it doesn't go to that tab. After whipping up some code to do this, I'm realizing that it seems like my notebook doesn't like the gtk_notebook_set_page() function. So, I have some barebones code now that looks like this: /* **

Re: Looking for a widget "resize" event...

2001-10-01 Thread Sven Neumann
Hi, Fabio Rotondo <[EMAIL PROTECTED]> writes: > I am looking for a widget "resize" event that appears _after_ the > widget has been resized. the GtkWidget's configure_event is probably what you are looking for. Salut, Sven ___ gtk-list mailing list

Re: Scrollbars and multiple viewports.

2001-10-01 Thread Paul Davis
>It seems to be a problem to connect to different viewports to the same >scrollbars adjustment. It seems that the adjustment just wants one >viewport each. Does anyone know how to construct something like this, or >just how to connect two viewports to the same scrollbar. > >I'm new to this, please

Looking for a widget "resize" event...

2001-10-01 Thread Fabio Rotondo
Hi! I am looking for a widget "resize" event that appears _after_ the widget has been resized. The "draw" event is not good, since when resizing a window it is emitted continuosly. Any ideas? Thanks, Fabio ___ gtk-list mailing list [EMAIL PROTEC

[gtk] GTK on memory framebuffer?

2001-10-01 Thread Random User
I sent this last week from the wrong account and it hasn't shown up on the list yet, so here it is again. - Hi all, One of the projects we are looking at right now has a really tight deadline for a customer demo. (that is, our customer wants to demo it to somebody else) We are putting

gtk_object_unref

2001-10-01 Thread Jean-Christophe Berthon
Hello everyone, I'm trying to use the gtk_object_ref and gtk_object_unref function. I have objects which are referencing shared points. Let say an object called A reference the point P. If P was not already created, I'm creating it. Then I add another object B which reference P also. As P is alr

Scrollbars and multiple viewports.

2001-10-01 Thread David Pettersson
Hi, I was trying some time ago to write a UI for a program. I needed a strange type of scrollable widget which I didn't manage to write. The structure of the widget is AAA B 1 AAA B 1 AAA B 1 CCC D 222 where the '1' and '2' areas are vertical resp. hor

Re: combo box

2001-10-01 Thread Paul Davis
> my_func is signal handler for both - key press and key_release >events, but only key_press is active all the time I noted on the list a week or so ago that a number of widgets only receive key_press by default. you need to use gtk_widget_add_events() if you want key_release as well. >release n

Re: combo box

2001-10-01 Thread Alexey Semenov
> >my_func (GtkWidget* widget, GdkEventKey* event, gpointer data) > >{ > > switch (event->keyval) { > > ... > > case GDK_Up: > > > > ... do smth. usefull, then i'd like to supress Up ... > > > > gtk_signal_emit_stop_by_name (GTK_OBJECT (widget), "key_press_event"); > > gtk_