Hi, I've a class (written in C++) whith a GtkGLArea and several
callbacks connected to button_press_event, button_release_event, etc...
I call it GGLSurf.
Now I want to use this class in another one to insert two GtkGLArea
widgets in my Application. This new class is not a subclass of
..
In fact.. I'm using the same functions I used in Motif before, and they
worked pretty fine with Motif.
What it's happening? Does it have something to do with GTK+ or am I just
getting more and more crazy?
Thanks in advance,
Ignacio Nodal
Sometime ago someone told how to make a dialog window to get the
control of the application..
I mean the dialog window being the only one to have the focus until it's
closed/hided... I just can't find that mail anymore.. could anyone
remind me how to do this? :)
Thanks,
Ignacio
Paul Davis wrote:
Sometime ago someone told how to make a dialog window to get the
control of the application..
gtk_window_set_modal
Mmmm, I didn't explain myself very good...
My program has a main window with a GtkGLArea waiting impatiently for
events to occur on it...
Then I have a
doesn't care about my expose_event callback
until the load ends.
I don't like this behaviour, how could I avoid this?
Thanks in advance,
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
[EMAIL PROTECTED] wrote:
From: Ignacio Nodal [EMAIL PROTECTED]
Hi,
In my program I have a window where I select a VRML file to load, press
OK and in the button callback, I hide this window and call my function
to read the VRML file (I use CyberVRML97 for this).
The problem is that my GTK
Oh, I see... well, then I'll have to be patient and wait for my VRML to end loading.
The main computation time takes place in functions from the CyberVRML97 library.
It's not my source, and I don't think I want to modify/hack it hehehe :-)
Thanks for all,
Ignacio Nodal
- Original
...
Does anybody know if I can call glViewport() without caring of the
if (gtk_gl_area_make_current (glarea)) result??
I'm only using one GtkGLArea in my program.
Thanks
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org
- 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
== EXIT_WAIT)
XtAppProcessEvent(GB_context, XtIMAll);
if (state == EXIT_OK) {
[...]
} else {
[...]
}
-
Which is the GTK+ equivalent?
Thanks,
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman
Hi, i'm writing my own functions to create menus, submenus, etc.
In my function CreateMenu(GtkWidget* parent, gchar* label), I would like
to know if my GtkWidget* parent parameter is either a GtkMenuBar or a
GtkMenuItem..
how can I ask this?
Thanks
Havoc Pennington wrote:
Ignacio Nodal [EMAIL PROTECTED] writes:
Hi, i'm writing my own functions to create menus, submenus, etc.
In my function CreateMenu(GtkWidget* parent, gchar* label), I would
like to know if my GtkWidget* parent parameter is either a
GtkMenuBar or a GtkMenuItem..
how
calls the
callback and not another.
Any idea?
Thanks in advance,
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
at the
beginning of the GSList.
Is there a better way to do this? I don't like this particular solution :)
Thanks again,
Ignacio Nodal
Ignacio Nodal wrote:
Hi,
I've create a submenu using GtkRadioMenuItems.
I don't want to use individuals callbacks for each GtkRadioMenuItems in
the same
states, I would like
the button appearance not to change.
Is there anyway to do this?
Thanks in advance,
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Hi,
it's possible to create a window with a minimum width without caring
about the height?
The height should be specified by the number of widgets packed in it.
Thanks in advance,
Ignacio
___
gtk-list mailing list
[EMAIL PROTECTED]
) colorsel);
The problem is I need and aditional pointer in order to know which
widget I want to update.
I only want to update if the ok_button is pressed,so the
color_changed signal emitted by the GtkColorSelection doesn't look
appropriate for me.
How can I do this?
Thanks in advance,
Ignacio
Ignacio Nodal wrote:
Hi,
I have create a GtkColorSelectionDialog and now I want to connect the
clicked signal of the ok_button to update the color of a widget.
ok_button = GTK_COLOR_SELECTION_DIALOG(pcsd)-ok_button;
gtk_signal_connect(GTK_OBJECT(ok_button), clicked,
(GtkSignalFunc
in advance,
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
How is the easiest way to create a pulldown menu which item is a list of
check or radiobuttons??
I want to write an enumeration, which can be a button with different pixmaps
for each enumeration item (already done), or this pulldown menu i'm asking
for..
Thanks in advance
Ignacio Nodal
option_menu widget the toggle button
which appears pressed is at the beginnin always the first menu item,
Option 1, and not Option 3 as I expected.
How can I solve this?
Thanks in advance,
Ignacio Nodal
[...]
menu = gtk_menu_new();
menu_item = gtk_radio_menu_item_new_with_label(group
now puting my functions in the private part and make them work.
I'm not on linux at this moment, sorry.
Regards,
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
From: Paul Davis [EMAIL PROTECTED]
this is member function. C++ member functions are not, and never have
been, interchangeable with regular C functions. this is a common
confusion among relatively new C++ programmers (i suffered from it
myself many years ago).
Hey! Where was this email
it toggled only once, but
know FALSE is pressed-in and TRUE raise-out.
Is there any problem connecting the button_press_event signal instead
of toggled? What's going wrong?
Thanks in advance,
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED
-_btn3callback;
pf(pb-_btn3data);
}
break;
}
What's going wrong?
Thanks in advance,
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
in advance,
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
= gtk_pixmap_new( _pixmap, NULL );
gtk_widget_show( pixmapwidget);
gtk_container_add(GTK_CONTAINER(_button), pixmapwidget);
[...]
Why isn't my _pixmap field being updated?
Thanks again and again and again ;)
Ignacio Nodal
___
gtk-list
as a parameter for
gtk_pixmap_new(), outside from the function where I create it using
gdk_pixmap_colormap_create_from_xpm_d()??? really, anyway...
Thanks again...
And sorry if my bad programming skills turn you nervous, just some more
sighs and I hope it will work :
Ignacio Nodal
) //the
C way
with some little internal changes, of course ;)
Thanks for being so patient, I know this was basic pointers UNknowledge
:))
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
On Thu, May 24, 2001 at 07:29:29PM +0100, Ignacio Nodal wrote:
Hi,
I want to write a function to read a pixmap string and store it into a
GdkPixmap, but without having to know which widget it will be added into.By
the way the widget could be still not created at all.
The problem is if I
;((
Thanks again,
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
in the xoptions parameter to let the width as in
gtk_table_attach_defaults but I get the following error..
conversion from `int' to `enum GtkAttachOptions'
So, I don't know how to tell my windgets to take all the window width...
any advise?
Thanks in advance,
Ignacio Nodal
);
gtk_table_attach_defaults(GTK_TABLE(table), separator2, 0,1, 3,4);
.
.
.
But so, all widgets have the same height, what am I doing wrong?
Thanks in advance
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org
haven't found any example where the parameter mask is really
used. I mean, in the examples i've found it will be the same to put a
NULL instead.
Can anyone show me an example using another value for mask??
Thanks in advance
Ignacio Nodal
___
gtk-list
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Is this function the correct one to change the background color of my
widgets?
void gtk_widget_set_style(GtkWidget *widget,GtkStyle *style);
I mean... modifying the GdkColor bg[5] field in the GtkStyle
structure..
Thanks in advance
Ignacio Nodal
how (button);
gtk_table_set_row_spacing (GTK_TABLE(table), 0, 15);
gtk_table_set_row_spacing (GTK_TABLE(table), 1, 15);
(...)
Thanks,
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Hi,
From the API Documentation:
"The GtkTable structure holds the data for the actual table itself.
children is a GList of all the widgets the table contains."
The gpointer field in this GList points into a GtkTableChild structure?
Ign
tion in this GList of a widget in the table?
Do the elements of this GList point into GtkTableChild structures?
Thanks,
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
()
Is there anyway to make something similar in GTK+?
Thanks,
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
|
| |
Well, i hope someone is able to understand this :))
Could this be done in anyway?
Sorry for my bad english :)
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
,
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
to write some classes using C++. I said: "There's a C++
wrapper called Gtk--" But they were already working with GTK+ and didn't
want to know nothing about Gtk--.
So, in short... I just obey orders :)))
Thanks again,
Ignacio Nodal
__
lly want to execute first my local_delete callback, as
it does, but i don't understand why it's working.
Ignacio Nodal
Escuela Universitaria de Informatica - ULPGC
Las Palmas de G.C - SPAIN
I
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Ctl+Q
Save As
--
QuitCtl+Q
Is this the normal behaviour or is there something wrong in this example
code?
Thanks,
Ignacio Nodal Suarez
Escuela Universitaria de Informatica - ULPGC
Las Palmas de G.C - SPAIN
___
gtk-list mailing list
[EMAIL PROTE
shows one keybinding.. the last
dinamically assigned.
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
It's quite important for the project I'm
working in.
Thanks,
Ignacio Nodal
- Original Message -
From: Dugas, Alan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Ignacio Nodal [EMAIL PROTECTED]
Sent: Thursday, February 22, 2001 4:39 PM
Subject: RE: Avoiding multiple child-windows
You coul
Hi,
I've got a callback for a button's clicked event that creates a child
window. If I click this button several times it creates each time a new
window. How can i ensure that only one windows will be created?
Which kind of window will be better for my child window?
Thanks,
Ignacio Nodal
a button's clicked event that creates a child
window. Of course, i only want to create ONE window, but when the window
is created.. if I continue clicking the button it creates everytime a
new window.How can I restrict this?
Ignacio Nodal
Ignacio Nodal wrote:
- Original Message -
F
event... in fact, is
this possible?
Ignacio Nodal
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
and becomes visible again.
Salut, Sven
Ok, i see.. i've already done something like that ;)
What's the meaning of this "queue" in the gtk_widget_queue_draw()
function? There is no specific explanation in the GTK Reference Manual.
Ignacio Nodal
__
Como dices? :
Maybe you could ask in english, so some of the "gurus" could help you..
Just an advice... Good luck :)
Ignacio Nodal
Edson Lima wrote:
Eu gostaria de saber se alguem poderia me ajudar
com uma funcao progressbar, eu ainda nao sei como interagir o progress
com
I wonder if anyone is already working to have a MDI widget for GTK+.. :)
---
Ignacio Nodal Suarez
Escuela Universitaria de Informatica (ULPGC)
Las Palmas de G.C. -- Spain
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman
l/include -L/
usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -
lXext -lX11 -lm"
Include directories seem to be right...
As you can see I'm totally lost. I hope anyone out there can help me, thanks
Ignacio Nodal Suarez
Escuela Universitaria de Informatica (ULPGC)
La
I've recently installed gtkglarea-1.2.2 in my linux system, so I'm quite a
newbie. When I try to run one of the examples from a different directory
then the one where I made the installation, I get the following error:
gcc: ../gtkgl/.libs/libgtkgl.so: file not found
How can I make this
55 matches
Mail list logo