For various reasons I want to initialize
a pixmap (GdkPixmap*) to something besides NULL.
Is there another quick and easy thing I can
initialize pixmap object too?
(There is a command to return a pointer to
a new pixmap object but I did not understand
the first arg.)
Thanks,
Chris
--
Examples of expose and configure event functions
regarding pixmaps seem to return either TRUE or FALSE.
What is the meaning of this return value and the purpose?
Thanks,
Chris
--
===
| Dr. Christian Seberino || (619) 553-7940 (office) |
|
Examples of configure and expose event functions
have a mysterious GtkWidget for the first arg.
I cannot seem to discern what it is.
Please explain...
Here is an example of an expose event function:
gint middleMassTimeSeriesPlotPatch(GtkWidget* widget, GdkEventExpose* event) {
Is it possible to have gtk_label_new(TEXT)
be vertical or rotated???
Since one cannot put letters in a pixmap this
is my only hope for vertical/sideways letters.
Thanks,
Chris
--
===
| Dr. Christian Seberino || (619) 553-7940 (office) |
|
Hi all,
I have this graph that is to show the traffic throughput. It updates every
2 secs. What should be the correct way to do this so that the axes can
update dynamically, i.e it progress from right to left, showing the time.
The diagram below shows the x-axis.
now:
Hi
In my gtk app I tried to handle the select_row signal of GtkCList. When I changed the
row selection with my mouse, it worked fine, but when I do it with the keyboard's
arrow keys, its not working, ie the signal is not triggered for the keyboard. I had
made the CList Selection Mode to
Hi
In my gtk app I tried to handle the select_row signal of GtkCList. When I changed the
row selection with my mouse, it worked fine, but when I do it with the keyboard's
arrow keys, its not working, ie the signal is not triggered for the keyboard. I had
made the CList Selection Mode to
Title: RE: [INIMSS] Problem with select_row signal of CList
Hello,
try GTK_SELECTION_BROWSE
Isabelle
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Envoye : mercredi 6 fevrier 2002 10:10
A : [EMAIL PROTECTED]
Objet : [INIMSS] Problem with select_row signal
On Wed, 2002-02-06 at 04:10, [EMAIL PROTECTED] wrote:
Hi
In my gtk app I tried to handle the select_row signal of GtkCList. When I changed
the row selection with my mouse, it worked fine, but when I do it with the keyboard's
arrow keys, its not working, ie the signal is not triggered for
Ignacio Nodal wrote:
I want my aplication to stop the gtk_main() until the user press a
button, which change the value of a variable called state:
Hi Ignacio, there are two gtk equivalents.
First, you can call gtk_main() recursively. In your button callback,
call gtk_main_quit(), and the
Is it possible to have gtk_label_new(TEXT)
be vertical or rotated???
no. X (which GDK relies on in the version of GTK+ that you are almost
certainly using) provides no facilities for text rotation.
if you want to do this, you have to put each letter into a pixmap
using tricks that will be
Examples of configure and expose event functions
have a mysterious GtkWidget for the first arg.
I cannot seem to discern what it is.
often, a signal is emitted because of an event occuring in/on the
widget. the handler(s) for the signal receive a pointer to the widget
as their first argument.
Examples of expose and configure event functions
regarding pixmaps seem to return either TRUE or FALSE.
What is the meaning of this return value and the purpose?
*all* signal handlers for signals that have a non-void return type
must return TRUE or FALSE to indicate whether or not they have
Hello.
I wanted to make a button behave lika a keyboard key, in that if i leave the key
pressed, it will repeat.
Thus i connected a button widget to a pressed signal, but when i press it its like
sometimes it was kust once, and other times 20 times at once or so. (The button is
supossed to
Hi,
David Eduardo Gomez Noguera [EMAIL PROTECTED] writes:
I wanted to make a button behave lika a keyboard key, in that if i leave the key
pressed, it will repeat.
Thus i connected a button widget to a pressed signal, but when i press it its like
sometimes it was kust once, and other times
I wanted to make a button behave lika a keyboard key, in that if i leave the k
ey pressed, it will repeat.
Thus i connected a button widget to a pressed signal, but when i press it its
like sometimes it was kust once, and other times 20 times at once or so. (The
button is supossed to increment
Hi,
Paul Davis [EMAIL PROTECTED] writes:
Is it possible to have gtk_label_new(TEXT)
be vertical or rotated???
no. X (which GDK relies on in the version of GTK+ that you are almost
certainly using) provides no facilities for text rotation.
this is not the full truth since X11R6 does
Is it possible to have gtk_label_new(TEXT)
be vertical or rotated???
no. X (which GDK relies on in the version of GTK+ that you are almost
certainly using) provides no facilities for text rotation.
this is not the full truth since X11R6 does support rotated glyphs, see
On 06 Feb 2002 16:40:22 +0100
Sven Neumann [EMAIL PROTECTED] wrote:
Hi,
David Eduardo Gomez Noguera [EMAIL PROTECTED] writes:
I wanted to make a button behave lika a keyboard key, in that if i leave the key
pressed, it will repeat.
Thus i connected a button widget to a pressed signal,
Thank you.
I was just thinking what would be the best way of action.
Have the function registered on a button pressed event, and removed on a butto
n realeased event?
or have a gtlobal static variable set to TRUE, and the function registered on
a button press, and have the button release set
satyajit kanungo [EMAIL PROTECTED] writes:
Well, I see gtk+ using lot of deprecated calls. I also saw many patches submitted
in bugzilla (#52790) but not yet gone into the source.
I have replaced all the GtkType GtkTypeInfo to GType GTypeInfo.
The attached diff contains the
Is there any way to avoid this message from being prompt?
** CRITICAL **: file gtkglarea.c: line 184 (gtk_gl_area_make_current):
assertion `GTK_WIDGET_REALIZED(gl_area)' failed.
I just want to call glViewport() in my InitGL() function. I know my
gl_area isn't still realized, but I don't
On Wed, Feb 06, 2002 at 10:09:12AM -0500, Paul Davis wrote:
Examples of expose and configure event functions
regarding pixmaps seem to return either TRUE or FALSE.
What is the meaning of this return value and the purpose?
*all* signal handlers for signals that have a non-void return type
Thanks for reply. So it sounds like some signal handlers
are only the first of many functions to handle an event.
(Most of which we don't see or deal with?)
If our function does ALL work then we return TRUE
but if it is only one of many then we return FALSE.
How are we to know if there are other
Is there any way to avoid this message from being prompt?
** CRITICAL **: file gtkglarea.c: line 184 (gtk_gl_area_make_current):
assertion `GTK_WIDGET_REALIZED(gl_area)' failed.
I just want to call glViewport() in my InitGL() function. I know my
gl_area isn't still realized, but I don't
On Wed, Feb 06, 2002 at 10:06:24AM -0500, Paul Davis wrote:
Examples of configure and expose event functions
have a mysterious GtkWidget for the first arg.
I cannot seem to discern what it is.
often, a signal is emitted because of an event occuring in/on the
widget. the handler(s) for the
This widget that is the first argument seems to be the window
that _contains_ the pixmap drawing from what you are saying.
no. its the widget for which the event took place and for which the
signal is being emitted. this mistake has caused you much later
confusion.
I'm confused because some
value_changed events are when someone changes
value with a slider bar. (I think.)
This calls a signal handler that gets the GtkAdjustment
object as a parameter. How/where can I pull out the value
that slider bar value was changed to. I need to do
something with the NEW value!
Thanks,
Chris
value_changed events are when someone changes
value with a slider bar. (I think.)
This calls a signal handler that gets the GtkAdjustment
object as a parameter. How/where can I pull out the value
that slider bar value was changed to. I need to do
something with the NEW value!
sorry chris.
I need to sometimes initialize an object to NULL and get this
message. How avoid???
warning: ANSI C++ forbids implicit conversion from `void *' in initialization
Here is the pixmap class that causes this (outside of main() )
class Pixmaps {
private:
public:
static GdkPixmap*
I need to sometimes initialize an object to NULL and get this
message. How avoid???
this is getting too close to generic programming questions for this
list. if you don't understand how to fix this yourself, i worry about
future progress on your software.
SomeObject *someObject =
- Original Message -
From: Paul Davis [EMAIL PROTECTED]
To: Ignacio Nodal [EMAIL PROTECTED]
Cc: GTK-List [EMAIL PROTECTED]
Sent: Wednesday, February 06, 2002 6:13 PM
Subject: Re: don't wanna see this CRITICAL
Is there any way to avoid this message from being prompt?
** CRITICAL **:
Paul Davis [EMAIL PROTECTED] writes:
there are also so-called after handlers (connected with
gtk_signal_connect_after()) which are called after the default
handler. its not clear to me if these will still be called in 1.3/2.0
if a before handler returns TRUE. owen/havoc and others will
So I installed gtk on my Slack 8 recently for I thought whatever was installed, maybe
get the latest version.
Then I discovered that 1.2.10 is already enclosured in Slack 8 and friend told me it's
not too good having 2 packages of it simultaneously installed. So I kicked the one I
installed
I have a list of sliders that sort of all blend together.
* A nice border around each one would be nice to
distinguish different slider components.
* Different colors would serve same purpose.
* Sliders DO NOT have arrows on each side like
scroll bars do!!! How get arrow buttons back?
How change font or size of text for gtk_label_new(TEXT)???
cs
--
===
| Dr. Christian Seberino || (619) 553-7940 (office) |
| SPAWARSYSCEN 2363 || (619) 553-2836 (fax)|
| 53560 HULL ST || |
| SAN
killing two birds with one stone:
1) How change font or size of text for gtk_label_new(TEXT)???
2) * Different colors would serve same purpose.
GtkWidget *label = gtk_label_new (foo);
gtk_widget_set_name (label, SuperlativeLabel);
GtkWidget *slider = gtk_hslider_new ();
gtk_widget_set_name
I just want to call glViewport() in my InitGL() function. I know my
gl_area isn't still realized, but I don't care...
you don't, but gtkglarea.c does. just call gtk_widget_realize() on
your glarea before calling InitGL().
--p
I know it does, hehehe, but if I call gtk_widget_realize() the
can't you use gtk_paint_arrow()?
- Original Message -
From: Paul Davis [EMAIL PROTECTED]
To: Chris Seberino [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, February 07, 2002 2:30 AM
Subject: Re: How change color, draw border, change other stylistics of SLIDERS???
killing two
39 matches
Mail list logo