Hi, I'm new to GTK, but have run into a few problems - I'll post them one by
one to save my confusion
GtkFrame
I'm using a GtkFixed container to house a few GtkFrames (this is a
requirement - I have to use co-ordinate placing).
When the frames overlap - they don't draw the borders I expect
Hi, I'm new to GTK, but have run into a few problems - I'll post them one by
one to save my confusion
I understand (from reading what I've found on the net) that setting colours
can be done from within an rc file - but I really need to do it from a
program. The program I'm writing compiles
[snip]
The problem with that method is that when I click and drag
the CLIST column
title to alter the width of the widget it also registers it
as a click on
row 0. I've not found a way to find a difference between a
click on the
resize bar and normal click on the clist itself.
Aubury, Mike wrote:
DISPLAY Hello World TO somewidget ATTRIBUTE(RED)
So I need to set the foreground colour of the 'somewidget' to red (assume
for the sake of argument that I'm using an Entry type field here).
In addition - in the definition of the form, I need to define what
I'm using a GtkFixed container to house a few GtkFrames (this is a
requirement - I have to use co-ordinate placing).
When the frames overlap - they don't draw the borders I expect (using any of
the styles I've tried)
[ ... ]
Is there anyway of correcting this ?
Use the GtkCanvas object. Or,
Kimberley Brent-y17568 [EMAIL PROTECTED] writes:
Thanks for the reply. I'm not sure if this is a passive/active ftp issue. ( I am
using iexplorer. )
I can download the glib source but not the gtk+ source. I'm behind a firewall. I
can
download glib, however I can't download the
I knocked up the following code to test this stuff :
-Cut Here-
#include gtk/gtk.h
#include gtk-canvas.h
/*
compiled with :
cc t1.c -o t1 -lgtk -lgdk -lgtk-canvas -lart_lgpl
*/
#define STYLE GTK_SHADOW_IN
int
main (int argc, char *argv[])
{
GtkWidget *app;
Hi, I'm adding a xpm into a button but i don't really understand how to
use the mask parameter.
The Reference Manual says:
GdkPixmap* gdk_pixmap_create_from_xpm (GdkWindow *window,
GdkBitmap **mask,
Hi:
Since I am new in this language, I just
wondering what is a appropriate tool to develop
the program,(e.g I used to us vc++, currently, I am using
vi), and I would like to know how to do the the debug.
I would appreciate your time and suggestion thank again.
Louis
1.) set up vertical scale to display digit 0-10,but the scale works
backwards.
when the slider moved up, the digits decrease; when moved down, it
increases.
didn't see an option to reverse the order.
2.) how is button prelighting turned off?
one suggestion was to use
Well, this will give you a bit more of an idea what's going on (or
not, as the case may be). I don't know why the raise/lower don't work
correctly in this case. Looks like either a bug in Fixed or the Canvas
to me.
--p
#include gtk/gtk.h
#include gtk-canvas.h
/*
compiled with :
gcc
Hi folks,
Can anyone explain arg 2?
gtk_item_factory_new (GtkType container_type,
const gchar *path,
GtkAccelGroup *accel_group);
What is the path all about? The examples / docs reference main but
that
Hi Louis!
On Tue, May 22, 2001 at 10:25:06AM -0700, Louis Lu wrote:
Hi:
Since I am new in this language, I just
wondering what is a appropriate tool to develop
the program,(e.g I used to us vc++, currently, I am using
vi), and I would like to know how to do the the debug.
I would
Thomas J Lewis [EMAIL PROTECTED] writes:
1.) set up vertical scale to display digit 0-10,but the scale works
backwards.
when the slider moved up, the digits decrease; when moved down, it
increases.
didn't see an option to reverse the order.
There is no option. There is in GTK 2 though.
Is there a way of 'always' returning the correct height/width of a
widget whether or not it has been expanded in its parent or is
mapped/unmapped.
At the moment I am putting a split area in to a window (min size
400*400) and I would expect the width and height of the split area to be
400*400
Ian King [EMAIL PROTECTED] writes:
Is there a way of 'always' returning the correct height/width of a
widget whether or not it has been expanded in its parent or is
mapped/unmapped.
What do you mean by correct?
The current width/height of a widget is widget-allocation.width,
2.) how is button prelighting turned off?
one suggestion was to use stop_signal_by_name(...entry_notify_event)
the signal can be stopped, but so is the button function(clicking button
has no affect).
Just set the prelight color to the same as the normal color.
if its a toggle button,
I'm packing widgets into GnomeCanvasItems ... but need a nice way to get
the underlying widget's size so that the parent GnomeCanvasItem can be
drawn accordingly.
Primary example is a slider (range widget) with an adjacent scale. If I
draw the GnomeCanvasItem to small, I won't get all my scale
On Tue, May 22, 2001 at 05:12:01PM +0200, Ignacio Nodal wrote:
Hi, I'm adding a xpm into a button but i don't really understand how to
use the mask parameter.
The Reference Manual says:
GdkPixmap* gdk_pixmap_create_from_xpm (GdkWindow *window,
Hi,
I'm trying to settle on library to learn for doing future gui
development. I need a flexible grid widget to do lots of database
display and updating. WxWindows seem to have what I need, but I have a
preference in other regards for GTK+. Are there any plans to add such a
grid widget to the
Paul Davis [EMAIL PROTECTED] writes:
Just set the prelight color to the same as the normal color.
if its a toggle button, there are *2* normal colors. what then?
I'm sure you could hack something, e.g. change prelight color when
toggled. (I see the issue here now, Thomas sent me mail
Dale Arntson [EMAIL PROTECTED] writes:
I'm trying to settle on library to learn for doing future gui
development. I need a flexible grid widget to do lots of database
display and updating. WxWindows seem to have what I need, but I have
a preference in other regards for GTK+. Are there any
22 matches
Mail list logo