search for: gtk_vbox_new

Displaying 20 results from an estimated 22 matches for "gtk_vbox_new".

2016 May 30
0
[PATCH v2 3/3] p2v: Allow virt-p2v to be built with Gtk 2 or 3.
...\ + gtk_box_set_homogeneous (GTK_BOX (box), TRUE); \ + } while (0) +#else /* gtk < 3.2 */ +#define hbox_new(box, homogeneous, spacing) \ + (box) = gtk_hbox_new ((homogeneous), (spacing)) +#define vbox_new(box, homogeneous, spacing) \ + (box) = gtk_vbox_new ((homogeneous), (spacing)) +#endif + +#if GTK_CHECK_VERSION(3,4,0) /* gtk >= 3.4 */ +/* GtkGrid is sufficiently similar to GtkTable that we can just + * redefine these functions. + */ +#define table_new(grid, rows, columns) \ + (grid) = gtk_grid_new () +#define table_attach(grid, chi...
2016 May 30
1
[PATCH v3] p2v: Allow virt-p2v to be built with Gtk 2 or 3.
This version of the Gtk 2/3 patch gets alignment and padding mostly right. I still can't work out how to vertically align labels in the middle of a cell in a GtkGrid. The GtkTextView in the final dialog is still broken. Rich.
2016 May 30
2
[PATCH 0/2] p2v: Allow virt-p2v to be built with Gtk 2 or 3.
... and a small initial patch which makes it easier to test virt-p2v without having to start up a virtual machine. There is still a bug in Gtk 3 where the GtkTextView on the final (running) dialog ignores gtk_widget_set_size_request and so the window appears just a single pixel high. Rich.
2016 May 30
4
[PATCH v2 0/3] p2v: Allow virt-p2v to be built with Gtk 2 or 3.
This is basically the same as what I posted earlier today. The main difference is I split out the GDK thread sychronization (removal of) changes from the other Gtk 2/3 changes, which should make it a bit easier to review. Gtk 3 is still not quite perfect. Apart from the problem with the GtkTextView noted before, there are also vertical alignment and padding problems with labels in GtkGrid
2016 Dec 05
0
CentOS6: devhelp search misses most of GTK+ 2 API functions
Hello there, a long-standing issue I have here and that I'm decided to get rid of now: in the devhelp, most of the GTK+ functions are not found by the search tab: it will find gtk_icon fonctions but no gtk_widget or gtk_color_button, gtk_label etc. Also, it will find GtkVbox item but no gtk_vbox_new, GtkWidget but no gtk_widget function, for instance. The docs are there (gtk-doc, gtk2-devel-docs), since I can find all those API elements by browsing the GTK+ 2 Reference Manual from the Contents tab. Is this really how it should be? Regards, -- wwp -------------- next part -------------- A...
2004 Sep 10
0
http streaming in the xmms plugin
...if (flac_configurewin != NULL) { gdk_window_raise(flac_configurewin->window); return; *************** *** 462,467 **** --- 613,765 ---- gtk_notebook_append_page(GTK_NOTEBOOK(notebook), output_vbox, gtk_label_new(_("Output"))); + /* Streaming */ + + streaming_vbox = gtk_vbox_new(FALSE, 0); + + streaming_buf_frame = gtk_frame_new(_("Buffering:")); + gtk_container_set_border_width(GTK_CONTAINER(streaming_buf_frame), 5); + gtk_box_pack_start(GTK_BOX(streaming_vbox), streaming_buf_frame, FALSE, FALSE, 0); + + streaming_buf_hbox = gtk_hbox_new(TRUE, 5); + gtk_c...
2009 Jul 23
1
viewer updates for fedora submission
This patchset provides updates to the viewer in preperation for its fedora submission. Included are patches cmd-line parameterizing hostname/user/pass/vm, the addition of a man page, cleanup of the project's structure, and updates to the spec.
2009 Jul 13
0
[PATCH viewer] permit hostname / username / password / vm to be passed in via the cmd line
...), "key-release-event", G_CALLBACK (connect_to_wui_on_enter), NULL); g_signal_connect (G_OBJECT (ca_button), "clicked", - G_CALLBACK (connect_to_wui), NULL); + G_CALLBACK (connect_to_wui_via_widget), NULL); login_area = gtk_event_box_new (); la_vbox = gtk_vbox_new (FALSE, 0); @@ -448,7 +484,7 @@ start_ui (void) g_signal_connect (G_OBJECT (la_password), "key-release-event", G_CALLBACK (login_to_wui_on_enter), NULL); g_signal_connect (G_OBJECT (la_button), "clicked", - G_CALLBACK (login_to_wui), NULL); + G_CALLBACK (l...
2015 May 05
3
[PATCH 0/2] p2v: Warn if vcpus or memory would be larger than supported by RHEL (RHBZ#823758).
https://bugzilla.redhat.com/show_bug.cgi?id=823758
2004 Sep 10
2
xmms plugin, fileinfo
...IB - File_Tag tag; - Initialize_File_Tag_Item (&tag); - rc = Id3tag_Read_File_Tag (filename, &tag); -#else - id3v2_struct tag; - memset(&tag, 0, sizeof(tag)); - rc = get_id3v1_tag_as_v2_(filename, &tag); -#endif + gchar *title; if (!window) { @@ -142,7 +185,7 @@ left_vbox = gtk_vbox_new(FALSE, 10); gtk_box_pack_start(GTK_BOX(hbox), left_vbox, FALSE, FALSE, 0); - id3_frame = gtk_frame_new(_("ID3 Tag:")); + id3_frame = gtk_frame_new(_("Tag:")); gtk_box_pack_start(GTK_BOX(left_vbox), id3_frame, FALSE, FALSE, 0); table = gtk_table_new(5, 5, FALSE); @...
2019 Jul 03
7
[PATCH 0/6] p2v: make it more independent (part #2)
As preliminary steps in splitting virt-p2v to an own repository, continue making p2v more independent within libguestfs. This is accomplished by the following changes: - have only the authors in the about dialog, and read them from a local AUTHORS file - few more cleanups This is still not complete, although I believe most of the work needed is done, and it still makes p2v usable within
2007 Aug 09
0
Branch 'vivi' - 6 commits - configure.ac vivified/core vivified/dock vivified/Makefile.am vivified/ui
...ntry), 0, -1); -} +#include "vivified/dock/vivified-dock.h" +#include "vivi_commandline.h" static void setup (const char *filename) @@ -45,15 +35,10 @@ setup (const char *filename) app = vivi_application_new (); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); - box = gtk_vbox_new (FALSE, 0); + box = vivi_vdock_new (); gtk_container_add (GTK_CONTAINER (window), box); - /* widget displaying the Flash */ - widget = swfdec_gtk_widget_new (NULL); - gtk_box_pack_start (GTK_BOX (box), widget, FALSE, FALSE, 0); - /* text entry */ - widget = gtk_entry_new (); - g_signal_co...
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
...ed_window_new (NULL, NULL); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), - GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); - gtk_paned_add1 (GTK_PANED (vpaned), scroll); - widget = create_movieview (player); - gtk_container_add (GTK_CONTAINER (scroll), widget); - - vbox = gtk_vbox_new (FALSE, 3); - gtk_paned_add2 (GTK_PANED (vpaned), vbox); - - scroll = gtk_scrolled_window_new (NULL, NULL); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), - GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); - gtk_box_pack_start (GTK_BOX (vbox), scroll, TRUE, TRUE, 0); - scrip...
2007 Mar 15
0
11 commits - libswfdec/swfdec_debugger.c libswfdec/swfdec_debugger.h libswfdec/swfdec_event.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c
...ed_window_new (NULL, NULL); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), + GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_paned_add1 (GTK_PANED (vpaned), scroll); + widget = create_movieview (player); + gtk_container_add (GTK_CONTAINER (scroll), widget); + vbox = gtk_vbox_new (FALSE, 3); - gtk_paned_add1 (GTK_PANED (hpaned), vbox); + gtk_paned_add2 (GTK_PANED (vpaned), vbox); scroll = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), diff --git a/player/swfdec_debug_movies.c b/player/swfdec_debug_movies.c new...
2007 Aug 09
0
Branch 'vivi' - 12 commits - libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec/Makefile.am libswfdec/swfdec_as_array.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_debugger.c
..._application_run (command_line->app, text); gtk_editable_select_region (GTK_EDITABLE (entry), 0, -1); } static void -vivi_command_line_init (ViviCommandLine *command_line) +vivi_command_line_init (ViviCommandLine *cl) { - GtkWidget *entry; + GtkWidget *box, *widget, *scroll; + + box = gtk_vbox_new (FALSE, 0); + gtk_container_add (GTK_CONTAINER (cl), box); + /* the text entry */ + widget = gtk_entry_new (); + g_signal_connect (widget, "activate", G_CALLBACK (command_line_entry_activate_cb), cl); + gtk_box_pack_end (GTK_BOX (box), widget, FALSE, TRUE, 0); + /* the text view for...
2007 Aug 21
0
Branch 'vivi' - 15 commits - configure.ac libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_script.c libswfdec/swfdec_types.h vivified/core vivified/ui
...p, guint type, const char *message, GtkTextView *view) { - GtkWidget *box, *widget, *scroll; + GtkTextBuffer *buffer = gtk_text_view_get_buffer (view); + GtkTextIter iter; + GtkTextMark *mark; + const char *tag_names[] = { "input", "output", "error" }; - box = gtk_vbox_new (FALSE, 0); - gtk_container_add (GTK_CONTAINER (cl), box); - /* the text entry */ - widget = gtk_entry_new (); - g_signal_connect (widget, "activate", G_CALLBACK (command_line_entry_activate_cb), cl); - gtk_box_pack_end (GTK_BOX (box), widget, FALSE, TRUE, 0); - /* the text view for...
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
..._window_set_title (GTK_WINDOW (window), filename); + basename = g_path_get_basename (filename); + if (basename) { + gtk_window_set_title (GTK_WINDOW (window), basename); + g_free (basename); + } g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL); box = gtk_vbox_new (FALSE, 3); @@ -92,7 +98,7 @@ open_window (char *filename) renderer = gtk_cell_renderer_text_new (); column = gtk_tree_view_column_new_with_attributes ("Name", renderer, - "text", SWFEDIT_COLUMN_NAME, NULL); + "text", SWFEDIT_COLUMN_NAME, "sensitive&...
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
...%s: %s\n", filename, error->message); g_error_free (error); return FALSE; } window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_window_set_title (GTK_WINDOW (window), filename); g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL); + box = gtk_vbox_new (FALSE, 3); + gtk_container_add (GTK_CONTAINER (window), box); + scroll = gtk_scrolled_window_new (NULL, NULL); - gtk_container_add (GTK_CONTAINER (window), scroll); + gtk_box_pack_start (GTK_BOX (box), scroll, TRUE, TRUE, 0); treeview = gtk_tree_view_new_with_model (GTK_TREE_MODEL (file...
2007 Aug 22
0
163 commits - autogen.sh configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_source.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c
...p, guint type, const char *message, GtkTextView *view) { - GtkWidget *box, *widget, *scroll; + GtkTextBuffer *buffer = gtk_text_view_get_buffer (view); + GtkTextIter iter; + GtkTextMark *mark; + const char *tag_names[] = { "input", "output", "error" }; - box = gtk_vbox_new (FALSE, 0); - gtk_container_add (GTK_CONTAINER (cl), box); - /* the text entry */ - widget = gtk_entry_new (); - g_signal_connect (widget, "activate", G_CALLBACK (command_line_entry_activate_cb), cl); - gtk_box_pack_end (GTK_BOX (box), widget, FALSE, TRUE, 0); - /* the text view for...
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
...- window = gtk_window_new (GTK_WINDOW_TOPLEVEL); - basename = g_path_get_basename (filename); - if (basename) { - gtk_window_set_title (GTK_WINDOW (window), basename); - g_free (basename); - } - g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL); - - box = gtk_vbox_new (FALSE, 3); - gtk_container_add (GTK_CONTAINER (window), box); - - scroll = gtk_scrolled_window_new (NULL, NULL); - gtk_box_pack_start (GTK_BOX (box), scroll, TRUE, TRUE, 0); - - treeview = gtk_tree_view_new_with_model (GTK_TREE_MODEL (file)); - gtk_container_add (GTK_CONTAINER (scroll), treev...