Re:Transparent GtkWidget

2002-02-28 Thread [EMAIL PROTECTED]
Hi, Take a look on the weelbaroww exemple ! Et puis en français pour vous Romain, jette un coup d'oeuil sur l'exemple weelbarow, vous pouvez remplacer le weelbarrow par un image .xpm. J'ai eu besoin moi aussi d'une fenetre transparente, tout ce que j'ai pu avoir c'est cet exemple. Si vous e

(no subject)

2002-02-28 Thread [EMAIL PROTECTED]
Hi, Please can any one send me a little exemple to help me to include a Java Applet in a gtk window?? How to compile it??, What I need to have?? Thank you very much. P.S : I send this question many times to GTK-APP-DEVEL-LIST but I still without any help, Recently Havoc P tell me to send thi

gtknotebook & pixmap

2002-02-28 Thread mrzali
How i want to attach pixmap into gtk-notebook-tab? As far i know we can only set label on it. Any suggestion. Thanks, mr_zali ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

gtk default binding sets

2002-02-28 Thread pclouds
Hi Is there any document that describe the default binding set of each widget? ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: gtk default binding sets

2002-02-28 Thread Steph
Hi, I've been doing that when I've noticed them, in the PHP-GTK manual http://gtk.php.net/manual/en which is about half complete at present. It depends which widget you're talking about ... oh, and which version of GTK+, we're using 1.2 and some of the bindings have been changed since then.

Re: gtknotebook & pixmap

2002-02-28 Thread Neil Bird
Around about 28/02/02 09:48, mrzali scribbled ... > How i want to attach pixmap into gtk-notebook-tab? > As far i know we can only set label on it. > Any suggestion. Do it in glade! Here's an edited example of how glade does it: notebook1 = gtk_notebook_new (); empty_notebook_page

GtkCTree drag bug workaround

2002-02-28 Thread Edscott Wilson García
Time ago I asked a question on this list and noone knew the answer. So now I am sending a bug workaround to help whoever might confront the same problem. If you create a gtkctree and do a gtk_drag_source_set() from the start, what happens is that the first drag it receives from another gtk app

gdk_draw_gray_image problem

2002-02-28 Thread Peter Van Osta
Hi, I ahve problem with "gdk_draw_gray_image". The code to display a greyvalue image is shown below. If I take gdk_draw_gray_image" out of the loop or reduce the number of loops below 3, either a solid grey image window display is shown (0 loops ) or only the lower half of the image (2 loops) ?

Re: now that we're on GtkDrawingArea... =)

2002-02-28 Thread Paul Davis
>I have my DrawingArea on a ViewPort on a ScrolledWindow on a pane on a noteboo >k on a table. like the song... > >I couldnt use any function that gets a GdkWindow as a parameter. As in the scr >ibble example, the Area is just under the Window, and it works. But i had the >DrawingArea somewhe

Re: Info Regarding GtkEntry

2002-02-28 Thread Havoc Pennington
Ganesan Sethuraman <[EMAIL PROTECTED]> writes: > Could you please tell me if there is any limatations on the number of > characters a GtkEntry widget can hold ? If I give more than 7300(approx) > characters, the characters are getting overlapped. Any idea on what > could be the problem ? > Is

Re: gdk_draw_gray_image problem

2002-02-28 Thread John . Cupitt
Hiya, almost exactly that code works for me, so I guess the problem must be somewhere else :-( Does testrgb work OK? If it does, what's that code doing that you're not doing? Peter Van Osta wrote: > I ahve problem with "gdk_draw_gray_image". The code to display a > greyvalue image is shown bel

configure event & pixmap question...

2002-02-28 Thread Christian Seberino
After much analysis I figured out that if I dereference a global pixmap pointer and then redefine it in configure event handler ALL IS WELL. If I don't dereference but just keep drawing on top of old global pixmap pointer in new configure event handler calls then NOTHING gets drawn on screen. HO

expose event & pixmap question

2002-02-28 Thread Christian Seberino
gint exposeEventHandler(GtkWidget* widget, GdkEventExpose* event) { gdk_draw_pixmap(widget->window, widget->style->fg_gc[GTK_WIDGET_STATE(widget)], Pixmaps::myPicture, event->area.x, event->area.y, event->area.x, event->area.y, event->area.width, event->area.height); return FALS

Re: expose event & pixmap question

2002-02-28 Thread Paul Davis
>gint exposeEventHandler(GtkWidget* widget, GdkEventExpose* event) { > gdk_draw_pixmap(widget->window, widget->style->fg_gc[GTK_WIDGET_STATE(widge >t)], > Pixmaps::myPicture, event->area.x, event->area.y, > event->area.x, event->area.y, event->area.width, event->area.height); > > ret

Re: configure event & pixmap question...

2002-02-28 Thread Havoc Pennington
Christian Seberino <[EMAIL PROTECTED]> writes: > After much analysis I figured out that if I dereference > a global pixmap pointer and then redefine it in > configure event handler ALL IS WELL. > > If I don't dereference but just keep drawing on top > of old global pixmap pointer in new configur

Re: expose event & pixmap question

2002-02-28 Thread Havoc Pennington
Christian Seberino <[EMAIL PROTECTED]> writes: > gint exposeEventHandler(GtkWidget* widget, GdkEventExpose* event) { >gdk_draw_pixmap(widget->window, widget->style->fg_gc[GTK_WIDGET_STATE(widget)], > Pixmaps::myPicture, event->area.x, event->area.y, > event->area.x, event->area.y,

How to catch Pixmap widget x & y coordinates ?

2002-02-28 Thread Flávio Alberto Lopes Soares
Hello all, I need to know how to catch the coordinates from a pixmap Widget; Thanks for any help Thanks a lot Flavio Alberto ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: How to catch Pixmap widget x & y coordinates ?

2002-02-28 Thread Paul Davis
>Hello all, > >I need to know how to catch the coordinates from a pixmap Widget; >Thanks for any help your question is not clear. please be more specific. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

PangoFontMetrics

2002-02-28 Thread Venkat Ramakrishnan
Hi I am new to GTK+ . I used to use X and motif calls for UI design and i really find GTK to be very flexible and powerful. Thanks to the people who brought it up . I have a small question . I want to write some strings into a drawing area using certain fonts . And I am using Pango for this .

Re: How to catch Pixmap widget x & y coordinates ?

2002-02-28 Thread Flávio Alberto Lopes Soares
Em 28 Feb 2002 13:03:38 -0500, Paul Davis escreveu: Ok, I want to use gdk_draw_pixmap to exchange one Gtk Pixmap with a file pixmap, I made some experiences with this command as above : int troca_pixmap(gpointer user_data, char *nome_pixmap, char *filename, gboolean use_pixmap_interno, GdkPixma

messed up GTK

2002-02-28 Thread Markus Klein
Hi everybody. I am looking for help with my Gnome/GTK installation. I want to compile some gnome programs but "make" always complains about missing files, though "./configure" is just fine: (Note: "Datei oder Verzeichnis nicht gefunden" means "file or directory not found").. ---cut --- In fil

Re: PangoFontMetrics

2002-02-28 Thread Havoc Pennington
"Venkat Ramakrishnan" <[EMAIL PROTECTED]> writes: > I am new to GTK+ . I used to use X and motif calls for UI design and > i really find GTK to be very flexible and powerful. Thanks to the > people who brought it up . > I have a small question . I want to write some strings into a drawing > area

Installing test gtk-1.3.15

2002-02-28 Thread Ibrahim Shaame
I have downloaded the lattest version, and would like to install it. I have created a directory within gnome directory (opt/gnome/gtk-1.3.15), successfully compiled glib-2.0, tried to load the libraries (from gtk-1.3.15/lib), but when trying to compile atk-0.13 I get a message the message that gli

floating points

2002-02-28 Thread Lourdes Maldonado
  I have an entry field where the user enters a string that should correspond to a floating point number (an FM frequency).  When I retrieve the string from the entry field and convert it (using strtod) to a floating point, the number does not come out exact (i.e. if I enter the string 85.

Re: Installing test gtk-1.3.15

2002-02-28 Thread Sven Neumann
Hi, Ibrahim Shaame <[EMAIL PROTECTED]> writes: > I have downloaded the lattest version, and would like > to install it. I have created a directory within gnome > directory (opt/gnome/gtk-1.3.15), successfully > compiled glib-2.0, tried to load the libraries (from > gtk-1.3.15/lib), but when tryi

Re: Installing test gtk-1.3.15

2002-02-28 Thread Jeff Trefftzs
Hi Ibrahim - You're in luck. I had exactly the same problem last night. Here's how I fixed it (at least according to my notes). First, as root run /sbin/ldconfig to update your libraries. Find where your pkgconfig files are. There might be one under /opt/gnome. If so, the export PKG_CONF

help porting from GtkClist to GtkTreeView

2002-02-28 Thread Ramsés Morales
Hi. On GTK+ 1.2, to add data to a row on a GtkClist, I used gtk_clist_set_row_data. I have an idea on how to get the same effect on GtkTreeView, for example: -Create a model with TREE columns. -create the tree view for that model with TWO columns -The "invisible" column would be the "row data".

Re: gtknotebook & pixmap

2002-02-28 Thread mrzali
  Actually i want to put pixmap on the "label" (tittle of the tab).   Neil Bird wrote: Around about 28/02/02 09:48, mrzali scribbled ... > How i want to attach pixmap into gtk-notebook-tab? > As far i know we can only set label on it. > Any suggestion.    Do it in glade!    Here's an edited examp

Re: help porting from GtkClist to GtkTreeView

2002-02-28 Thread Havoc Pennington
Ramsés Morales <[EMAIL PROTECTED]> writes: > > On GTK+ 1.2, to add data to a row on a GtkClist, I used > gtk_clist_set_row_data. > > I have an idea on how to get the same effect on GtkTreeView, for > example: > > -Create a model with TREE columns. > -create the tree view for that model with TW

Beginner questions...

2002-02-28 Thread Ramon Alberto Triay Espinosa
ok... i'm a beginner and i have A LOT of questions... 1.How can I stablish the tabulation order (tabindex property in Visual Basic) of my widgets? Do I need to assign the focus manually? 2.What's this win_main object that sometimes i see in some example apps? 3.How can I stablish the z-order of t