hi all,
I'm currently writing a part of code using
gtk_combo_box_entry_new_with_model feature. (See attachment). I'm
wondering if there is a way to make unselectable (and not displaying
it) the parent element. (example in attachment : only displaying 'A -
B' in menu and not in submenu.)
On Tue, Jun 06, 2006 at 11:32:43PM -0600, Brett Stottlemyer wrote:
I'm interested in displaying large quantities of scientific data in a
UNIX/LINUX environment. I write computationally intensive code in C++, and
I've used tools like matlab to display results, including generating GUIs
I wrote an application that displayed multiple animated sequences and
moved them around the screen to represent machine activities. I bit like
a 2d game
The way that I did it was to create arrays (yes I know I should have
used linked lists) of structures that wrapped up each frame of the
animated
Hallo,
I try to script some app. using pygtk. One of the tasks is to draw some
data on the image background. I would like to use approach like follows:
pixbuf = gtk.gdk.pixbuf_new_from_file(tmp.ppm)
pixmap = gtk.gdk.Pixmap(widget.window, width, height)
for line in lines:
On Wed, Jun 07, 2006 at 11:36:35AM +0200, Jachym Cepicky wrote:
I try to script some app. using pygtk. One of the tasks is to draw some
data on the image background. I would like to use approach like follows:
pixbuf = gtk.gdk.pixbuf_new_from_file(tmp.ppm)
pixmap =
Hello,
I'm trying to embed my .glade xml file in a win32 app.
Here's a sample:
HRSRC hrc=FindResource(NULL,MAKEINTRESOURCE(IDR_GLADE1),GLADE);
int size=SizeofResource(NULL,hrc);
HGLOBAL gladerc=LoadResource(NULL,hrc);
char *ptr=LockResource(gladerc);
glade_xml_new_from_buffer(ptr, size, NULL,
Hi,
I wanted to ask how do you find the link beetween a gtkTreeViewColumn and
the DataColumn it is displaying?
I work in java gnome but I think I could learn from your answers. In java
you call a function addAttributeMapping,
to make the link but after that I think it's impossible to find which
3saul wrote:
Create code:
GtkWidget **b_buttons;
b_buttons = g_new(GtkWidget*, x);
for (i = 0; i x i != x; i++)
{
b_buttons[i] = gtk_button_new();
gtk_widget_show( b_buttons[i] );
gtk_table_attach (GTK_TABLE (table6), b_buttons[i], 0,
So the sollution:
pixbuf = gtk.gdk.pixbuf_new_from_file(tmp.ppm)
pixmap,mask = pixbuf.render_pixmap_and_mask()
for line in lines:
pixmap.draw_line(line[x], line[y]...)
drawingarea.window.draw_drawable(..., pixmap, )
Thanks, Yetti!
Jachym
--
Jachym
Only for my curiosity... what does egg means? I remember that I asked this
to myself when I used eggTrayIcon :)
Best regards
-- Forwarded message --
From: John (J5) Palmieri [EMAIL PROTECTED]
Date: Jun 6, 2006 11:29 PM
Subject: Re: using gtk preffix, it's ok??
To: Alexandre
hi,
Does there exist a way to display absolute path in a
gtkfilechooserbutton (with GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER mode)
?
Thanks in advance for your help.
regards.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
On Wed, Jun 07, 2006 at 06:50:32PM +1000, kadil wrote:
I wrote an application that displayed multiple animated sequences and
moved them around the screen to represent machine activities. I bit like
a 2d game
The way that I did it was to create arrays (yes I know I should have
used linked
On Wed, Jun 07, 2006 at 08:16:18AM -0400, Fraser Sinclair wrote:
Before calling gdk_draw_polygon and gdk_draw_line we have found it
necessary to check each point to make sure it doesn't exceed 32000+ to
avoid random lines and solid/void problems with shapes. Of course this
only happens
13 matches
Mail list logo