glade

Integrating GTK+3.24.21 (Glade) libs with Codeblocks (C)

血红的双手。 提交于 2020-07-23 06:42:32
问题 I want to integrate GTK+3.24.21 (Glade) libs with Codeblocks 17.12 for compiling of GTK+ C apps. I installed mingw64 compiler, Glade, and GKT via MSYS2 MSYS (from official website) using these commands pacman -S mingw-w64-x86_64-gtk3 pacman -S mingw-w64-x86_64-gtkmm3 pacman -S mingw-w64-x86_64-glade . I've tried to create GTK project through "GTK+ project" category and it failed cos I just can't point to the right directory of GTK libs. I've tried this one: "C:\msys64\mingw64\include\gtk-3.0

Glade - Invalid object type 'WebKitWebView' when loading from file. works on Glade Application

怎甘沉沦 提交于 2020-03-25 12:59:46
问题 I am building a python GTK application and I used Glade to define the interface. (using the Glade Interface Designer). Everything look good on Glade but when I try to create the GUI from my Python program it gives a error loading Webkit related views: Glade - Invalid object type 'WebKitWebView' It works fine in Glade Designer and also if I create the widgets manually, but the Builder doesn't like it. I am building the ui like this: GtkBuilder = Gtk.Builder.new_from_file("glade/main.glade")

Glade/gtkmm TreeView

ε祈祈猫儿з 提交于 2020-01-06 03:53:24
问题 In following up with an answer to my previous question on this issue, I've made some progress and am looking for the next bit of guidance. In brief, I'm having trouble loading up a Treeview from Glade with a gtkmm application. To start, here's the source. The class: typedef struct { Gtk::Window *window_info; Gtk::TreeView *treeview_info; Glib::RefPtr<Gtk::ListStore> liststore_info; class InfoColumns : public Gtk::TreeModel::ColumnRecord { public: InfoColumns() { add(time); add(message); } Gtk

clone a GtkWidget from glade so it will be reusable several times in application

放肆的年华 提交于 2020-01-04 15:29:08
问题 I'm writing a Gtk+3 application in C. The user interface is built with glade. I created an independent GtkBox that should be used in several places in my application. When I try to use that GtkBox more then once I get the following error: (tuxmusicstudio:27491): Gtk-WARNING **: Attempting to add a widget with type GtkBox to a container of type GtkBox, but the widget is already inside a container of type GtkBox, please use gtk_widget_reparent() How can I clone the GtkWidget so it will be

clone a GtkWidget from glade so it will be reusable several times in application

微笑、不失礼 提交于 2020-01-04 15:28:20
问题 I'm writing a Gtk+3 application in C. The user interface is built with glade. I created an independent GtkBox that should be used in several places in my application. When I try to use that GtkBox more then once I get the following error: (tuxmusicstudio:27491): Gtk-WARNING **: Attempting to add a widget with type GtkBox to a container of type GtkBox, but the widget is already inside a container of type GtkBox, please use gtk_widget_reparent() How can I clone the GtkWidget so it will be

Properly structure and highlight a GtkPopoverMenu using PyGObject

限于喜欢 提交于 2020-01-04 15:26:35
问题 I am trying to make an example of a proper Gtk.HeaderBar with Gtk.PopoverMenus that shows how the different widgets are used. I looked at a lot of examples and code, but can't figure out, how to work the Gtk.ModelButton . Especially this sentence makes no sense to me: When the action is specified via the “action-name” and “action-target” properties, the role of the button (i.e. whether it is a plain, check or radio button) is determined by the type of the action and doesn't have to be

Glib-GIO-ERROR when opening an file chooser dialog

感情迁移 提交于 2020-01-02 10:11:26
问题 I use GTK3 , codeblcks IDE, glade3 in windows 7... In my application i have a button which when clicked should open a gtk_file_chooser_dialog... But gives the fillowing error.. Glib-GIO-ERROR** : No GSettings schemas are installed on the system static void on_save_clicked(GtkWidget *widget,gpointer data) { GtkWidget *dialog; //dialog=gtk_file_chooser_dialog_new("Save it",GTK_WINDOW(gtk_builder_get_object(builder,"mainwindow")),GTK_FILE_CHOOSER_ACTION_SAVE,GTK_STOCK_OK,GTK_RESPONSE_OK,GTK

Unable to connect signal and signal handler in Glade GTK+3

拈花ヽ惹草 提交于 2020-01-02 05:40:08
问题 Hi i'm working on a project in GTK+ 3 on Ubuntu 14.04 LTS. I'm trying to use Glade,but when i tried to connect a "toggled" signal of toggle button to a function called kaczka ,after compiling i got this in my console: (Gra_w_Statki:11072): Gtk-Warning**:Could not find signal handler 'kaczka. Did you compile with -rdynamic? The window and the button render itself and work normally except of that toggling button doesn't change anything. What am i doing wrong ? This is how i tried to connect

OpenGL + gtkglextmm + glade

孤街醉人 提交于 2020-01-01 19:02:15
问题 when I am programming with "gtkmm", there is a widget "Gtk::DrawingArea" . I can program that widget "by hand" (so write the code) or more elegant way is to use "glade" user interface designer, where I can do the same "graphically" . Now I am trying to connect OpenGL with gtkmm through "gtkglextmm" library. In that library, there is a widget "Gtk::GL::DrawingArea" - but this widget "IS NOT" available in glade. So is there any way to program with "OpenGL + gtkglextmm" using "glade" (for the