it-edit Documentation

Table of Contents

Next: , Up: (dir)   [Contents]

it-edit Documentation

it-edit 3.0, Apr 18, 2017

Brüggemann Eddie

Copyright © 2015-2017, Brüggemann Eddie

Contents:


Next: , Previous: , Up: Top   [Contents]

1 it-edit (Integrated Terminal Editor)


program: it-edit


version: 3.0


author: Brüggemann Eddie


contact: <mrcyberfighter@gmail.com>


license: GPLv3


website: <‘http://www.open-source-projects.net/it-edit/it-edit’>


release: Apr 18, 2017


Next: , Up: it-edit Integrated Terminal Editor   [Contents]

1.1 Motivation for writing it-edit

I think they are 2 sort of programmers in their habits of writing programs:

Because I’m an programmer from the second category and because i remark that i often use additional tools than the editor and the terminal.

I decide to write my own text editor program which provide me all the functionalities that i need to get a development environment fully adapt to my requirement.

So in fact it-edit is more than a basic programming text editor, but a powerful tool which I hope you will agree the concept.

Note: In fact in conjunction with my project generator mk-project1 which generate me a big `do all' Makefile.

I enjoy using it-edit every time !

Even when I only to type few targets like (make, make exec, make ddebug, make gdb,...) it-edit is useful for all task to do in a terminal.

All this with an accompanied editor.


note: By the way mk-project2 can be useful for every vim or T.U.I (Terminal User Interface) editor user.


Next: , Previous: , Up: it-edit Integrated Terminal Editor   [Contents]

1.2 Requirement of it-edit

it-edit requires


warning: You must install the development packages of all required library because it will be compiled and installed on the target host.


Next: , Previous: , Up: it-edit Integrated Terminal Editor   [Contents]

1.3 What it-edit does for me !

it-edit consist of a basic programming text editor with all basic functionalities with

intelligently integrated terminals the best positioned so that they are easy to reach into the main interface of the program.

With many others practices functionalities.

it-edit integrated terminals in the best way I have thought for me.

A side bar terminal which you can add and remove items, a big full-screen terminal, the same divided into 4 terminals and as many top-level terminals as you want.

it-edit provide an easy file access...

In fact it was thought for registering `HTML' documentation and so accessing it `easily'.

 

But you can register your winner song if you want when you have terminate all your assertions well,

to celebrate your victory `!'

it-edit will open the registered file with the default program for it if any available.

 

Saving and restoring your file(s) list.

$ cp /usr/local/share/it-edit/Files_handler/Files_handler.conf $HOME

To restore your file(s) list after upgrade per example.

$ cp $HOME/Files_handler.conf /usr/local/share/it-edit/Files_handler/Files_handler.conf

You can launch graphical applications with it-edit very easily:

The version `3'.**0** of it-edit embedded a configurable spell checker utility which you can use to write documentations

reachable as

or


Next: , Previous: , Up: it-edit Integrated Terminal Editor   [Contents]

1.4 it-edit spirit

it-edit offers:


Up: it-edit spirit   [Contents]

1.4.1 A programming editor

A text-editor without favoring any language.

With all the basic text editor functionalities and overall useful shortcuts which you didn’t have to know all.

And some unusual like `duplicate text' or `copy to clipboard' the current edited absolute `file-path' (Ctrl + Shift + Y).

You will be able to open, open a recent, save, save as, save all, file(s).

Or reload your last session file(s) as documentation and launched applications.

it-edit provides some informations like:

By opening the file informations you will get more informations and can do some basic functions on (and strictly over) the file on disk (`not' the current edited buffer):

You will be able to see and to modify:


warning: By saving the configured mask will overwrite your changes.


Next: , Previous: , Up: it-edit Integrated Terminal Editor   [Contents]

1.5 Terminal integration

it-edit provides the best terminals integration for everyone:


note: It’s recommended to use it-edit with a Makefile (easy self-build or not) for compiled languages, else enjoy the terminals for launching your scripts and commands.

make makes the life easier !

All this terminals have a good contextual menu and I had problems to add some items, as sync current directory in every terminal, and so on.


Next: , Previous: , Up: it-edit Integrated Terminal Editor   [Contents]

1.6 it-edit writing spirit

it-edit is written in C (-std=c99) using gtk-3 and related libraries.

it-edit writing style takes cares of:

it-edit make strong usage of the gtk-3 types.

it-edit provide an optional spell checker useful for writing documentation or simply comments.

it-edit make usage of /** **/ comments so for commenting out a code section, by hacking it-edit, use the preprocessor: #if 0 ... #endif.


note: The spirit of it-edit says that you have to do a thing a single time then it’s automatize.


Previous: , Up: it-edit Integrated Terminal Editor   [Contents]

1.7 Conclusion

Control all your system with it-edit and show us that you can dialog with it through the best medium: the terminal.


Next: , Previous: , Up: Top   [Contents]

2 it-edit’s menu


Next: , Up: it-edit's menu   [Contents]

2.1 Files


Next: , Previous: , Up: it-edit's menu   [Contents]

2.2 Edition


Next: , Previous: , Up: it-edit's menu   [Contents]

2.3 Actions


Next: , Previous: , Up: it-edit's menu   [Contents]

2.4 Applications


Next: , Previous: , Up: it-edit's menu   [Contents]

2.5 View


Next: , Previous: , Up: it-edit's menu   [Contents]

2.6 Settings


Previous: , Up: it-edit's menu   [Contents]

2.7 About


Next: , Previous: , Up: Top   [Contents]

3 Editor

The editor has as functionalities :


Next: , Up: Editor   [Contents]

3.1 Files management.


Next: , Previous: , Up: Editor   [Contents]

3.2 Text edition functionalities.


Next: , Previous: , Up: Editor   [Contents]

3.3 Contextual menu from editor


note: If you’re using the In-line spell check functionality an item with a `sub-menu' of `suggestions' is added to the `contextual menu' of the editor.


Next: , Previous: , Up: Editor   [Contents]

3.4 Spell-check functionality


warning: Install the optional gspell-1 -dev or -devel package, before installing it-edit.


Next: , Previous: , Up: Editor   [Contents]

3.5 Go to line number


Next: , Previous: , Up: Editor   [Contents]

3.6 Find and replace


note: If you select some text with the mouse and use the Ctrl + f shortcut, then:


note: The search will begin at your selection position if you hit the `Next' or `Previous' button.

Note: `The search terms history:'

Every search term you make a search for will be register into the history.

  • + You can use the Up key to start the history search from the beginning.
  • + You can use the Down key to start the history search from the end.

It will flow through the search terms history but not wrap around, simply end at the other end.


Next: , Previous: , Up: Editor   [Contents]

3.7 Replace in all files

You can use the button, menu item or shortcut (Ctrl + Shift + R),

to replace all occurrence(s) from a pattern according the settings:

Which are all settable, like the pattern and the replacement text, into the appearing top-level window.


Next: , Previous: , Up: Editor   [Contents]

3.8 Copy to clipboard

You can copy to clipboard either :


Next: , Previous: , Up: Editor   [Contents]

3.9 Order page

You can use menu item or the shortcut (Ctrl + Shift + O) to reorder all the pages lexicographically.


Previous: , Up: Editor   [Contents]

3.10 Editor usage more


Next: , Previous: , Up: Top   [Contents]

4 Terminals

it-edit provides:


Next: , Up: Terminals   [Contents]

4.1 A sidebar terminals

it-edit provides `terminals in the same window as the editor', as a sidebar, which can easily `shown', `hidden' and `pull' as you want.

You can `add' and `remove' as many terminals as you want to the sidebar.


Next: , Previous: , Up: Terminals   [Contents]

4.2 A full-screen terminal

it-edit provides a `big terminal' occupying the full interface, `dividable' into `4 re-sizable terminals', to which you can `easy toggle' from the main window.


Next: , Previous: , Up: Terminals   [Contents]

4.3 Top-level terminals

it-edit provides a `top-level terminal window' (so it can be `resize', `minimize', `maximize' and `closed'),

At first you will be prompt to enter a command.

After the execution of the command the top-level terminal is yours and can continue to enter commands.


Previous: , Up: Terminals   [Contents]

4.4 Contextual menu from the terminals

Note: By the sidebar terminals the items:

  • + Open new tab
  • + Close tab

Are added to the contextual menu.


Next: , Previous: , Up: Top   [Contents]

5 Files


Next: , Up: Files<2>   [Contents]

5.1 New file

You can open a New file, this will create a random named New_XXXXXX file into your `TEMPDIR' folder, and erase it immediately but the file-path is kept.

You will surely write inside the new create buffer and surely save it after (surely not into the `TEMPDIR' folder).

Use the menu item Files ‣ New file or the shortcut Ctrl + N to create a new buffer as describe above.


Next: , Previous: , Up: Files<2>   [Contents]

5.2 File(s) opening

They are several ways for opening file(s) into it-edit:

This will present you a file selector to open the wanted file(s).

Note: The current tab influate the file-selector behaviour:

  • + The active editor page will influence into which folder the file-selector gets open.

    Because the file-selector will be launched into the folder from the current edited file location.

    You can held the mouse over the tab (which content the current filename) to sea the absolute file path in a tool-tip.

    The same mechanic is by placing the mouse over the filename into the bottom bar.

  • + You can configure to get the current edited file selected (highlighted into the file-selector) into the editor or not.

    note: This can be practice if per example you want to open the header file from a source file or inversed.


Next: , Previous: , Up: Files<2>   [Contents]

5.3 Saving files

They are several ways of saving files into it-edit:

  1. You can save the current file simply using:

This will save the file at is current location.

  1. You can save a "New" file or the edited file into another location by using:

warning: They is no shortcut for this purpose, but if you save (Save file Ctrl + S) simply a "New" file this will act as a Save file as.

  1. You can save all the open files using:

This will save all the unsaved files at their current location.

Note: You can distinguish if a file is currently save or modified by looking at the `name' `in the tab':

if their is an `asterisk' ’*’ `before' the `file name' this mean that the `file' is currently `not saved' on the `disk'.


note: If enabled it-edit will remove all the trailing spaces from the document after having save it.


Next: , Previous: , Up: Files<2>   [Contents]

5.4 Reload file

You can reload a file from disk with it-edit by using:


note: This can be practice if per example you have redirect you compilation process to a file for debugging compilation errors.


Previous: , Up: Files<2>   [Contents]

5.5 File informations

You can get and change files informations by using the menu item Files ‣ File informations Ctrl + I.

This will display a `top-level window' presenting following `informations' and `action' to `process' on the `file':

  1. A frame named: Main informations will display:
  1. A frame named: Mode will display a file `permissions' table like this:
+---+---+---+---+
|   | R | W | X |
+---+---+---+---+
| U | * | * |   |
+---+---+---+---+
| G | * | * |   |
+---+---+---+---+
| O | * |   |   |
+---+---+---+---+

U -> User.      R -> Read.

G -> Group.     W -> Write.

O -> Others.    X -> Execute.

The cells of the table contains `check-boxes' representing the current `permissions' of the file.

By simply (un)checking the `check-boxes' you change the `permissions' of the file on disk.


warning: By saving your file you will set the permissions according to your configuration into it-edit for files saving.

  1. A frame named: File counts display some few statistics of the file:

Of the file on the disk.


note: it-edit use the program wc to gets this informations.


warning: The number of line(s) and character(s) into your current edited buffer is visible into the bottom bar.

  1. A frame named: Timestamps display the:

Of the file on the disk.

Near of every information is a button named Modify which permit you to change the timestamps.

Which will present you a `calendar' for the date

and `3' `spin buttons':

Which permit you to change the timestamps easily.


note: This can be useful per example if you have change your system clock and you use the make tool,...

  1. A frame named: Checksum will display the:

of your file.


note: The `checksums' are displayed into `hexadecimal' values.

  1. A frame named: File actions will present you:

The file name and 4 buttons, named:

The functionalities of this buttons are clear as their name.


Next: , Previous: , Up: Top   [Contents]

6 Spell check


Next: , Up: Spell check   [Contents]

6.1 it-edit spell check features

it-edit provide 2 different spell check methods:


Next: , Previous: , Up: Spell check   [Contents]

6.2 Using it-edit spell check

You can enable or disable the in-line spell check by using:

You can display the spell check dialog window using the:


Next: , Previous: , Up: Spell check   [Contents]

6.3 it-edit spell check support

it-edit use the gspell-1 library for providing spell check.

See also

it-edit and gspell-1 library:

Actually the gspell-1 library is relative young, so not available in every repository.

So where ever you get the spell check functionality into it-edit depends on what version

of gtk-3 you get.

Because the gspell-1 library is only available with `>=' gtk-+3.20.


note: You can get gtk+-3.22 and gspell-1 currently with the `ppa' gnome3-staging for debian packages or by debian distributions through the "sid" repository.

gspell-1 has the advantages:

See also

gspell-1 library

gspell provides a flexible API to add spell checking to a GTK+ application. It
features:
* GObject wrappers around Enchant
* An inline spell checker for GtkTextView (enhanced version of GtkSpell)
* A spell checker dialog for GtkTextView
* Support of the no-spell-check tag defined by GtkSourceView
* Language choosers (button and dialog)

So we know that gspell is based on enchant:

Enchant is a generic spell checking library which uses existing spell checker
engines such as ispell, aspell and myspell as its backends.

Enchant steps in to provide uniformity and conformity on top of these libraries,
and implement certain features that may be lacking in any individual provider
library.

So for getting dictionaries compatibles with the gspell-1 library simply download either or:

dictionnaries in the wanted language(s).


Previous: , Up: Spell check   [Contents]

6.4 Thanks

Big Thanks to the author of the gpsell-1 library `Sébastien Wilmet' which I get some form of familiarity within.


Sébastien Wilmet: is the author of the Texilla Latex editor and maintainer of the gtksourceview-3 library and participate in many other projects like gedit.


Next: , Previous: , Up: Top   [Contents]

7 Sessions


Next: , Up: Sessions   [Contents]

7.1 Configure your sessions recovering

Their are 3 different modes for registering your session at your convenience.


Up: Configure your sessions recovering   [Contents]

7.1.1 Files, documentation, applications registering:


Previous: , Up: Sessions   [Contents]

7.2 The `automatic' session mechanism

How does it work ?


Next: , Up: The automatic session mechanism   [Contents]

7.2.1 Registering:


Next: , Previous: , Up: The automatic session mechanism   [Contents]

7.2.2 Reloading a session

You can reload the entire session by activating the menu item:

Or reload the different items singular.


Previous: , Up: The automatic session mechanism   [Contents]

7.2.3 Clear a session


warning: To know that every `non-empty' registered list can be relaunch at the next session or into the same session.

The only way to clear all the list is to activate the menu item Files ‣ Reload session ‣ Clear session.

Into a session.

This permit to clear the lists and

if you want to reconstruct a new session by reactivating the concern session registering mechanism.

Warning: Application launching Note:

When you launch an application per the Actions ‣ Application launch it won’t be registered as applications

because I consider that we need the application only now not very often.

But if you open an application per the menu items Applications where you can register your personal applications you use often.

They are are registered because you will use them often with the it-edit easy application access menus.


Next: , Previous: , Up: Top   [Contents]

8 Shortcuts table


Next: , Up: Shortcuts table   [Contents]

8.1 Application shortcuts:

ShortcutfunctionalityMnemonic
Ctrl + nNew filen = new
Ctrl + oOpen fileo = open
Ctrl + sSave files = save
Ctrl + Shift + SSave all filesS = Save
Ctrl + Alt + cClose fileC = Close
Ctrl + Shift + cClose all file(s)C = Close
Ctrl + rReload filer = reload
Ctrl + iFile informationsi = Informations
Ctrl + zUndoNone
Ctrl + Shift + ZRedoNone
Ctrl + fSearchf = find
Ctrl + EnterReplaceNone
Ctrl + Shift + EnterReplace allNone
Ctrl + +NextNone
Ctrl + -PreviousNone
Ctrl + gGo to line numberg = go to
Ctrl + xCutNone
Ctrl + cCopyc = copy
Ctrl + vPasteNone
Ctrl + dDuplicate textd = duplicate
Ctrl + pUse tabsNone
Ctrl + wIn-line spell-checkNone
Ctrl + Shift + WSpell-check dialogNone
Ctrl + eExecute commande = execute
Ctrl + Alt + oOrder pageso = order
Ctrl + yCopy file-path to clipboardNone
Ctrl + Shift + yCopy folder-path to clipboardNone
Ctrl + bShow|Hide big termb = big term
Ctrl + Shift + Bbig term switchB = Big term
Ctrl + tShow | Hide terminalt = terminal
Ctrl + Shift + TAdd new terminalsT = Terminals
Shift + CopyCopy from terminalNone
Shift + InsertPaste to terminalNone
Ctrl + hFile handlerh = handler
Ctrl + aApplication launchera = application
Ctrl + qQuit applicationq = quit

Previous: , Up: Shortcuts table   [Contents]

8.2 Terminals shortcuts:

ShortcutfunctionalityMnemonic
Shift + Copy (KP 1)Copy from terminalNone
Shift + Insert (KP 0)Paste to terminalNone
Shift + Ctrl + TOpen new tabt = tab
Shift + Ctrl + -Decrease font-scale- = decrease
Shift + Ctrl + +Increase font-scale+ = increase

note: Else you can close a tab and reset the terminal from the terminals contextual menu.


Next: , Previous: , Up: Top   [Contents]

9 Supported charset

Unicode

Western

Central European

South European

Baltic

Cyrillic

Arabic

Greek

Hebrew Visual

Turkish

Nordic

Baltic

Celtic

Western

Romanian

Unicode

Unicode

Unicode

Unicode

Unicode

Unicode

Unicode

Armenian

Chinese Traditional

Chinese Traditional

Cyrillic/Russian

Japanese

Japanese

Japanese

Korean

Chinese Traditional

Chinese Simplified

Chinese Simplified

Chinese Simplified

Georgian

Western

Central European

Cyrillic

Turkish

Hebrew

Arabic

Japanese

Korean

Cyrillic

Korean

Cyrillic

Cyrillic

Cyrillic/Ukrainian

Japanese

Vietnamese

Thai

Korean

Vietnamese

Central European

Cyrillic

Western

Greek

Turkish

Hebrew

Arabic

Baltic

Vietnamese


Next: , Previous: , Up: Top   [Contents]

10 Supported languages

ActionScript:

text/x-actionscript

Ada:

text/x-ada, text/x-adasrc

ANS-Forth94:

text/x-forth

ASP:

text/x-asp, application/x-asp, application/x-asap

Automake:

awk:

application/x-awk

BennuGD:

BibTeX:

text/x-bibtex

Bluespec SystemVerilog:

Boo:

text/x-boo

C:

text/x-c, text/x-csrc, image/x-xpixmap

C#:

text/x-csharpsrc, text/x-csharp

C++:

text/x-c++, text/x-cpp, text/x-c++src

CG Shader Language:

ChangeLog:

text/x-changelog

C++ Header:

text/x-c++hdr

CMake:

C/ObjC Header:

text/x-chdr

COBOL:

CSS:

text/css

CSV:

text/csv

CUDA:

D:

text/x-dsrc

Defaults:

.desktop:

application/x-gnome-app-info, application/x-desktop

Diff:

text/x-diff, text/x-patch, text/x-reject

DocBook:

application/docbook+xml

DOS Batch:

DPatch:

text/x-dpatch

DTD:

text/x-dtd

Eiffel:

text/x-eiffel

Erlang:

text/x-erlang

F#:

text/x-fsharp

FCL:

Forth:

text/x-forth

Fortran 95:

text/x-fortran

GAP:

text/x-gap

GDB Log:

Genie:

text/x-genie

gettext translation:

text/x-po, text/x-pot, text/x-pox, text/x-gettext-translation, text/x-gettext-translation-template

Go:

Graphviz Dot:

text/vnd.graphviz

gtk-doc:

GtkRC:

text/x-gtkrc

Haddock:

Haskell:

text/x-haskell

HTML:

text/html

IDL:

text/x-idl

IDL-Exelis:

ImageJ:

.ini:

text/x-ini-file, application/x-ini-file

J:

Jade:

Java:

text/x-java

JavaScript:

application/javascript, application/x-javascript, text/x-javascript, text/javascript, text/x-js

JSON:

application/json

Julia:

LaTeX:

text/x-tex

Lex:

libtool:

text/x-libtool

Literate Haskell:

text/x-literate-haskell

LLVM IR:

Lua:

text/x-lua

m4:

application/x-m4

Makefile:

text/x-makefile

Mallard:

Markdown:

text/x-markdown

Matlab:

text/x-matlab

MediaWiki:

Meson:

text/x-meson

Modelica:

text/x-modelica

MXML:

Nemerle:

text/x-nemerle

NetRexx:

text/x-netrexx

NSIS:

Objective-C:

text/x-objcsrc

Objective-J:

text/x-objective-j

OCaml:

text/x-ocaml

OCL:

text/x-ocl

Octave:

text/x-octave

OOC:

Opal:

OpenCL:

OpenGL Shading Language:

Pascal:

text/x-pascal

Perl:

text/x-perl, application/x-perl

PHP:

text/x-php, application/x-php, text/x-php-source, application/x-php-source

Pig:

pkg-config:

text/x-pkg-config

Prolog:

text/x-prolog

Protobuf:

text/x-protobuf

Puppet:

Python:

text/x-python, application/x-python

Python 3:

R:

text/x-R

reStructuredText:

text/x-rst

RPM spec:

text/x-rpm-spec

Ruby:

application/x-ruby, text/x-ruby

Rust:

text/rust

Scala:

text/x-scala

Scheme:

text/x-scheme

Scilab:

sh:

text/x-shellscript, application/x-shellscript, text/x-sh

SPARQL:

application/sparql-query

SQL:

text/x-sql

Standard ML:

Sweave:

SystemVerilog:

Tcl:

text/x-tcl, application/x-tcl

Texinfo:

text/x-texinfo

Thrift:

txt2tags:

Vala:

text/x-vala

VB.NET:

text/x-vbnet, text/x-vb

Verilog:

text/x-verilog-src

VHDL:

text/x-vhdl

XML:

application/xml, text/xml

XSLT:

application/xslt+xml

Yacc:

text/x-yacc, text/x-bison

YAML:

application/x-yaml


Next: , Previous: , Up: Top   [Contents]

11 it-edit smart widgets

it-edit implement some few self build widget:

Note: If you get interest into Gtk-3 widget building

you can broad the source to understand How-To build GtkWidget(s) for Gtk-3 from your own.


Next: , Up: it-edit smart widgets   [Contents]

11.1 GtkSmartMenuItem

A simple menu item containing:


Next: , Up: GtkSmartMenuItem   [Contents]

11.1.1 Constructors

C Function: GtkWidget* gtk_smart_menu_item_new_all(const gchar *label, const gchar *icon_filepath, GtkAccelGroup *accel_group, const GdkModifierType accel_modifier, const guint accel_key) ;

Parameters:


Return type: GtkWidget *


Returns: A pointer to the GtkSmartMenuItem.

C Function: GtkWidget* gtk_smart_check_menu_item_new_all(const gchar *label, const gboolean draw_as_radio, const gchar *icon_filepath, GtkAccelGroup *accel_group, const GdkModifierType accel_modifier, const guint accel_key) ;

Parameters:


Return type: GtkWidget *


Returns: A pointer to the GtkSmartMenuItem check button.

Note: You can pass a NULL pointer or 0 to the parameters :

  • * icon_filepath
  • * accel_group
  • * accel_modifier
  • * accel_key.

note: You can build others constructors if you have understand How-To build this kind of widgets.


Previous: , Up: GtkSmartMenuItem   [Contents]

11.1.2 Getters

C Function: GtkWidget* gtk_smart_menu_item_get_image(GtkWidget *smart_menu_item) ;

Parameters:


Return type: GtkWidget *


Returns: A pointer to the GtkImage widget.

C Function: GtkWidget* gtk_smart_menu_item_get_menuitem(GtkWidget *smart_menu_item) ;

Parameters:


Return type: GtkWidget *


Returns: A pointer to the GtkMenuItem widget.

C Function: GtkWidget* gtk_smart_menu_item_get_label(GtkWidget *smart_menu_item) ;

Parameters:


Return type: GtkWidget *


Returns: A pointer to the GtkLabel widget.

C Function: GtkWidget* gtk_smart_menu_item_get_accel_label(GtkWidget *smart_menu_item) ;

Parameters:


Return type: GtkWidget *


Returns: A pointer to the GtkAccelLabel widget.


Next: , Previous: , Up: it-edit smart widgets   [Contents]

11.2 GtkSmartIconButton

A simple button with an icon without label and tool-tip which embed an universal short-cut text.


Next: , Up: GtkSmartIconButton   [Contents]

11.2.1 Constructors

C Function: GtkWidget* gtk_smart_icon_button_new_all(const gchar *filepath, const gchar *tooltip_text, const guint accel_key, const GdkModifierType accel_modifier) ;

Parameters:


Return type: GtkWidget *


Returns: A pointer to the GtkSmartIconButton widget.

C Function: GtkWidget* gtk_smart_icon_toggle_button_new_all(const gchar *filepath, const gchar *tooltip_text, const guint accel_key, const GdkModifierType accel_modifier) ;

Parameters:


Return type: GtkWidget *


Returns: A pointer to the GtkSmartIconButton toggle button widget.


Previous: , Up: GtkSmartIconButton   [Contents]

11.2.2 Getters

C Function: GtkWidget* gtk_smart_icon_button_get_image(GtkWidget *smart_icon_button) ;

Parameters:


Return type: GtkWidget *


Returns: A pointer to the GtkImage widget.


Previous: , Up: it-edit smart widgets   [Contents]

11.3 GtkItTerm

Not reusable like this.

Note: I’ve learned how to implement self builded Gtk-3 widgets

If you get interest in building widgets take a look at the source for basics.


Previous: , Up: Top   [Contents]

Indices and tables


Footnotes

(1)

http://www.open-source-projects.net/mk-project/mk-project

(2)

http://www.open-source-projects.net/mk-project/mk-project