search for: gtkbutton

Displaying 12 results from an estimated 12 matches for "gtkbutton".

Did you mean: tkbutton
2001 Jan 22
0
vorbiscomment gui ideas
...<child_ipad_x>7</child_ipad_x> <child_ipad_y>0</child_ipad_y> <child> <padding>0</padding> <expand>False</expand> <fill>True</fill> </child> <widget> <class>GtkButton</class> <name>artist_add_button</name> <tooltip>Add a new artist to the list</tooltip> <can_default>True</can_default> <can_focus>True</can_focus> <label>Add</label> </widget>...
2011 Dec 22
1
RGtk2: How to overlay a gtkDrawingArea with a button or any other widget?
...h into a gtkFixed container. But this does not work, no printing occurs. Does someone know a solution? What I tried: w <- gtkWindow() w$setSizeRequest(400,400) fx <- gtkFixed() da <- gtkDrawingArea() fx$put(da, 100, 100) asCairoDevice(da) par(mar=c(0,0,0,0)) plot(1:10) btn.1 <- gtkButton("button") fx$put(btn.1, 200, 200) w$add(fx) Thanks Mark ???????????????????????????????????? Mark Heckmann Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2009 May 29
1
GTK Tooltips under Linux
Dear all, I want to set tool-tips for a gtkButton. I use the following code which works under Windows. However, it doesn't work under Linux. Any hints? Thanks. library(RGtk2) b<-gtkButtonNewWithLabel("OK") gtkTooltips()$setTip(b,"Memo for a Button.") gw <- gtkWindow(show=F) gw$Add(b) gw$Show() > sessionInfo() R v...
2012 Nov 30
1
How to add widgets of gWidgets to widgets of rgtk2 ???
I have a layout in gwidgets. To this, I wanted to add a Textbox(gtkEntry) created from rgtk2... The code is as follows: MainLayOut <- glayout(homogeneous = FALSE, spacing = 10, container = SubGroup) MainLayOut[1, 1, anchor=left] <- "Number of Total Patients: " font(MainLayOut[1, 1, anchor=left]) <- c(weight="bold") patients <- gtkEntry()
2008 Aug 06
1
RGtk2 on linux: "stack smashing detected"
...s grDevices utils datasets methods base > > other attached packages: > [1] RGtk2_2.12.1 > > stop("hello") > Error: hello > > foo <- GtkWindow() > Error: could not find function "GtkWindow" > > foo <- gtkWindow() > > butt <- gtkButton("error") > > gSignalConnect(butt, "clicked", function(...) stop("hello")) > clicked > 16 > attr(,"class") > [1] "CallbackID" > > foo$add(butt) > ## click button > > Error in function (...) : hello > *** stack...
2017 Sep 22
3
gtk3 update causing havoc
On my lab systems, the automatic updates were failing because of the problems with ipod libraries from EPEL being in the way. It turns out that was a good thing, because when I "fixed" it, a massive set of packages was updated, including the new gtk3. These packages are the ones causing problems, I think. gtk3-3.22.10-4.el7.x86_64 gtk3-devel-3.22.10-4.el7.x86_64 In the release notes,
2014 Feb 12
61
P2V: Headless support
This introduces support to run P2V without X server. Runtime parameters are specified via kernel command line making it hopefully suitable for automated migration with a little help of PXE boot. Patchset is not squashed and represents dev. history.
2007 Jan 25
0
Branch 'interpreter' - 28 commits - configure.ac libswfdec/js libswfdec/swfdec_buffer.c libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_player.c
...2 (SwfdecOut * out, + guint i); + +void swfdec_out_put_rect (SwfdecOut * out, + SwfdecRect * rect); + + +G_END_DECLS + +#endif diff --git a/test/swfedit.c b/test/swfedit.c index e16d645..258f25e 100644 --- a/test/swfedit.c +++ b/test/swfedit.c @@ -27,12 +27,26 @@ static void save (GtkButton *button, SwfeditFile *file) { + GtkWidget *dialog; GError *error = NULL; - if (!swfedit_file_save (file, &error)) { - g_printerr ("Error saving fils: %s\n", error->message); - g_error_free (error); + dialog = gtk_file_chooser_dialog_new ("Save file...", +...
2007 Feb 13
0
9 commits - libswfdec/js libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_codec_screen.c libswfdec/swfdec_image.c libswfdec/swfdec_script.c test/Makefile.am test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c
...const cairo_matrix_t * matrix); +void swfdec_out_put_color_transform (SwfdecOut * out, + const SwfdecColorTransform *trans); G_END_DECLS diff --git a/test/swfedit.c b/test/swfedit.c index 258f25e..7e13bd6 100644 --- a/test/swfedit.c +++ b/test/swfedit.c @@ -33,12 +33,13 @@ save (GtkButton *button, SwfeditFile *fi dialog = gtk_file_chooser_dialog_new ("Save file...", GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (button))), GTK_FILE_CHOOSER_ACTION_SAVE, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_SAVE, GTK_RESPONSE_OK, + GTK_STOCK...
2007 Aug 29
0
15 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_system_as.c
...w, h); - cr = cairo_create (surface); - cairo_surface_destroy (surface); - swfdec_player_render (player, cr, 0.0, 0.0, 0.0, 0.0); - cairo_show_page (cr); - cairo_destroy (cr); - } - gtk_widget_destroy (dialog); -} -#endif /* CAIRO_HAS_SVG_SURFACE */ - -static void -step_clicked_cb (GtkButton *button, SwfdecPlayerManager *manager) -{ - swfdec_player_manager_iterate (manager); -} - -static void -step_disable_cb (SwfdecPlayerManager *manager, GParamSpec *pspec, GtkWidget *widget) -{ - gtk_widget_set_sensitive (widget, !swfdec_player_manager_get_interrupted (manager)); -} - -static void...
2008 Jan 07
0
12 commits - configure.ac doc/swfdec.types Makefile.am test/crashfinder.c test/dump.c test/Makefile.am test/swfdec-extract.c test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_list.c test/swfedit_list.h
...with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301 USA - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <gtk/gtk.h> -#include "swfedit_file.h" - -static void -save (GtkButton *button, SwfeditFile *file) -{ - GtkWidget *dialog; - GError *error = NULL; - - dialog = gtk_file_chooser_dialog_new ("Save file...", - GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (button))), - GTK_FILE_CHOOSER_ACTION_SAVE, - GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT, -...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...2 (SwfdecOut * out, + guint i); + +void swfdec_out_put_rect (SwfdecOut * out, + SwfdecRect * rect); + + +G_END_DECLS + +#endif diff --git a/test/swfedit.c b/test/swfedit.c index e16d645..258f25e 100644 --- a/test/swfedit.c +++ b/test/swfedit.c @@ -27,12 +27,26 @@ static void save (GtkButton *button, SwfeditFile *file) { + GtkWidget *dialog; GError *error = NULL; - if (!swfedit_file_save (file, &error)) { - g_printerr ("Error saving fils: %s\n", error->message); - g_error_free (error); + dialog = gtk_file_chooser_dialog_new ("Save file...", +...