Hi,
When using the GtkFileChooserDialog, is there a way to get the number
of files in the folder you select or when saving check if the file you
select already exists in the folder or dosen't in the case of opening?
Thanks a lot,
Michal
___
Hi,
When you create a gtk_hscale the lower limit is automatically at the
top and upper limit at the bottom is there a way of changing this? I
have tried just changing the upper and lower values but this does not
work properly, I have also tried putting negative page increments but
this also
When connecting signals to methods is is possible to add additional
variables to the signals and if so in which way. Furthermore, the 4th
variable, data, does it have to be a gpointer?
I have the following function defined as:
Horizontal_Zoom_In_clicked(GtkWidget *widget, int gt)
and the signal
Hi,
I was wondering if it is possible to temporary disable focus on
buttons so they don't work and they do not light up when the mouse
hovers over them.
Is it also possible to disable the movement and resizeablilty of a
window temporariliy.
Furthermore, is it possible to set where we want a
GdkPixmap *pixmap;
GdkPixbuf *pixbuf;
GdkGC *gc;
pixbuf =
pixmap = gdk_pixbuf_new(NULL,
gdk_pixbuf_get_width(pixbuf),
gdk_pixbuf_get_height(pixbuf),
I know some of glib/gtk+ and I'd like to use similar library.
How to get GdkDrawable from GdkPixbuf?
Use gdk_draw_pixbuf () to convert from GdkPixbuf to GdkDrawable.
- Create new image
- Insert into it some text, lines ect.
- Insert into it some pictures from disk
- Save it on disk
Hi,
I was wondering how it is possible to sense when a widget is closed by
the user and send change a specific variable as a result.
Furthermore, is there a way other then gtk_widget_destroy to
destroy/close widget windows because this causes seg faults for me in
some occasions and in others
Hi,
I am getting RGB videofeed from a camera and I am storing it in a
PixBuf, from this PixBuf I wish to be able to acquire the shade
(grayscale) value of pixels located at a particular x and y location.
I have looked at the put_pixel() example in the API reference
Hi,
I have created my own custom widget, and I was wondering how I can
link or map GDK event types to my custom widget in particular the
key_press_event and button_press_event.
Furthermore, after a event type has been specified, say the
button_press_event, will I have to actually specify what
Correct me if I'm wrong but the gtk_main() acts like an infinite while
loop that waits for callbacks to the widgets that have been created
before gtk_main() was called.
My question is, except for the g_timer function which seems to just be
for measuring proccesses inside actual callbacks, is it
Hi,
I was wondering if it is possible to set a Toggle Button's state to
something else when you are inside another Toogle Button's callback. I
know there is the gtk_toggle_button_set_active method but that
requires you to have the GtkToggleButton. Is there another method that
only uses the Widget
Hi,
I have a couple of questions.
Question 1. Is it possible to have an image (Jpeg) displayed and have
a drawing area overlayed on top but still be able to view the image
below it. If a drawing area is not allowed, is it possible to put
something that resembles a drawing area over an image
12 matches
Mail list logo